predict.plot.lm {mining} | R Documentation |
Makes a matrix of pairwise scatterplots with lowess-type trend lines.
predict.plot.lm(object,data,partial=F,ylab,...)
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 . |
Partial residuals are computed by fitting a new model with the
predictor removed, which is different from residuals(type="partial")
.
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.
Tom Minka
# see the examples for predict.plot