ceres.plots(model, variable, ask=missing(variable), one.page=!ask,
span=0.5, ...)
ceres.plot(model, ...)
## S3 method for class 'lm':
ceres.plot(model, variable, line=TRUE, smooth=TRUE, span=0.5, iter,
las=par('las'), col=palette()[2], pch=1, lwd=2, main="Ceres Plot", ...)
## S3 method for class 'glm':
ceres.plot(model, ...)lm or glm.ceres.plots.TRUE, a menu is provided in the R Console for the
user to select the variable(s) to plot, and to modify the span for the smoother
used to draw a nonparametric-regression line on the plot.TRUE (and ask=FALSE), put all plots on one
graph.TRUE to plot least-squares line.TRUE to plot nonparametric-regression (lowess) line.0, ticks labels are drawn parallel to the
axis; set to 1 for horizontal labels (see par).1
(a circle, see par).2 (see par).NULL. These functions are used for their side effect: producing
plots.ceres.plots.
By default, this function is used interactively
through a text menu.
The model cannot contain interactions, but can contain factors.
Factors may be present in the model, but Ceres plots cannot be drawn
for them.cr.plots, av.plotsceres.plots(lm(prestige~income+education+type, data=Prestige))Run the code above in your browser using DataLab