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.
ARGUMENTS:
terms
a character vector of term labels; default is
labels(object).
VALUE:
A list of evaluated terms is returned, each of which is also
a
preplot.gam object.
These each contain components
x,
y,
xlabylab and others
that are used in plotting the term.
plot.gam creates
a
preplot.gam object prior to plotting; if one of the
components of a
gam object is called
preplot, it is assumed to
be a
preplot.gam object and is used directly.
SEE ALSO:
.
EXAMPLES:
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