plot.loess(object, given=6, evaluation=50, confidence=0, coverage=0.99, ranges, which.plots)preplot.loess(object, given=6, evaluation=50, confidence=0, coverage=0.99, ranges, which.plots)
Graphical parameters and arguments to title may also be given to plot.loess.
plot.loess returns NULL.
Sometimes, the computation necessary to carry out plot.loess is substantial enough that we want to save the evaluated surface that is graphed so we can graph the surface many times, perhaps with changes to graphical parameters, but carry out only one evaluation. This can be done by assigning the result of preplot to a dataset and using the dataset as the first argument in calls to plot.
ethanol.model <- loess(NOx ~ C * E, data = ethanol, span = 1/2, drop.square = "C", parametric = "C") ethanol.preplot <- preplot(ethanol.model, given = 16, confidence = 7, coverage = .95) plot(ethanol.preplot) # now try again with a smaller character size plot(ethanol.preplot, cex = .5) # now make hard copy postscript() plot(ethanol.preplot, cex = .5)