Is it possible to get the predicted response values that are used to plot 3D contour plots in vis.gam. I want to know what the predicted response for each grid cell is in the plot. I am using the MGCV package and GAM function. My model is:
pose_mod <- gam(POSEtrans ~ s(Elevation) + s(Heatload) +
s(Precip_Spring_Fall_Total) + s(PSSP6) + s(BRTE) +
TSF + s(PointID, bs = 're'),
family=betar(link='logit'), method = "REML",
data = iData)
vis.gam(pose_mod, view=c("BRTE", "Elevation"),
type = 'response',theta=45,ticktype="detailed", n.grid = 20)