predict_plot.lm | R Documentation |
Makes a matrix of pairwise scatterplots with lowess-type trend lines.
## S3 method for class 'lm' predict_plot(object, data, partial = F, ylab = NULL, ...)
object |
the output of |
data |
a data frame to use instead of |
partial |
If |
ylab |
axis label. |
... |
extra arguments for |
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
predict_plot
# see the examples for predict_plot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.