gplot(x, y, se.y, residuals, rug, scale, se, ...)
Graphical parameters may also be supplied as arguments to this function (see par). In addition, the high-level graphics arguments described under par and the arguments to title may be supplied to this function.
gplot is not called directly by users; rather, it is called by plot.preplot.gam, the plot method for preplot.gam objects. Such an object is a list of fitted terms, each of which has components x, y, se.y, etc, and plot.preplot.gam simply dispatches them as arguments to gplot.
Users will occasionally encounter examples where no gplot method corresponding to the data class of x exists. In this case, no plot is produced, and two possible avenues exist. Either one can write a new gplot method for that particular class which would then be available for all future encounters, or one could simply construct a plot on a one time basis using the precomputed data in the preplot.gam object.