predict.plot.lm {mining}R Documentation

Plot predictors versus residuals.

Description

Makes a matrix of pairwise scatterplots with lowess-type trend lines.

Usage

predict.plot.lm(object,data,partial=F,ylab,...)

Arguments

object the output of lm.
data a data frame to use instead of model.frame(object).
partial If TRUE, plot partial residuals instead of residuals.
ylab axis label.
... extra arguments for predict.plot.data.frame.

Details

Partial residuals are computed by fitting a new model with the predictor removed, which is different from residuals(type="partial").

Value

A plot similar to predict.plot, but where the vertical axis is residuals. These plots can be used to judge which predictors should be added to the model.

Author(s)

Tom Minka

See Also

predict.plot

Examples

# see the examples for predict.plot

[Package Contents]