preplot.gam(object, newdata, terms)
This is a method for the function preplot for objects inheriting from class gam. See preplot for the general behavior of this function and for the interpretation of newdata.
plot.object <- preplot(gam.object) plot(preplot.object, se = T) gam.object$preplot <- preplot(gam.object) plot(gam.object) # preplot.gam is not called again