cr.plots(model, variable, ask=missing(variable), one.page=!ask,
span=0.5, ...)
crp(...)
cr.plot(model, ...)
cr.plot.lm(model, variable, order=1, line=T, smooth=T, iter,
span=0.5, las=1, col=palette()[2], pch=1, lwd=2,
main="Component+Residual Plot", ...)
cr.plot.glm(model, ...)
lm
or glm
.crp
or cr.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=F
), 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
(the default) for horizontal labels (see par
).1
(a circle, see par
).2
(see par
).NULL
. These functions are used for their side effect: producing
plots.cr.plots
(for which crp
is an abbreviation). By default, these functions are used interactively
through a text menu.
The model cannot contain interactions, but can contain factors.
Parallel boxplots of the partial residuals are drawn for the levels
of a factor.ceres.plots
, av.plots
data(Womenlf)
cr.plots(glm(partic != "not.work" ~ hincome + children,
data=Womenlf, family=binomial))
data(Prestige)
cr.plots(lm(prestige~income+education, data=Prestige),
variable="income")
Run the code above in your browser using DataLab