You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
df<- data_sim("eg2", n=2000, dist="normal", scale=0.5, seed=42)
# fit the GAM (note: for execution time reasons, k is set articifially low)m<- gam(y~ te(x, z, k= c(5, 5)), data=df, method="REML")
# data slice through te(x,z) holding z == 0.4ds<- data_slice(m, x=0.0204313075, z=0.4)
# partial derivatives
(pd_x<- partial_derivatives(m, data=ds, type="central", focal="x"))
Don't see any reason why this should fail.
The text was updated successfully, but these errors were encountered:
Don't see any reason why this should fail.
The text was updated successfully, but these errors were encountered: