cr.plots(model, variable, ask=missing(variable), one.page=!ask, 
  span=0.5, ...)
crp(...)
cr.plot(model, ...)
## S3 method for class 'lm':
cr.plot(model, variable, order=1, line=TRUE, smooth=TRUE, iter, 
  span=0.5, las=par('las'), col=palette()[2], pch=1, lwd=2,
  main="Component+Residual Plot", ...)
## S3 method for class 'glm':
cr.plot(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=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.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.plotscr.plots(lm(prestige~income+education, data=Prestige), 
  variable="income")
  cr.plots(glm(partic != "not.work" ~ hincome + children, 
  data=Womenlf, family=binomial))Run the code above in your browser using DataLab