| plot.lmfm {fit.models} | R Documentation |
Produces a set of comparison diagnostic plots. The plot options are
(not used)
Normal QQ Plot of Residuals,
Kernel Density Estimate of Residuals,
Residuals vs. Mahalanobis Distance,
Residuals vs. Fitted Values,
Scale-Location,
Response vs. Fitted Values,
Residuals vs. Index (Time),
Overlaid Normal QQ Plot of Residuals,
Overlaid Kernel Density Estimate of Residuals,
Scatter Plot with Overlaid Fits (for simple linear regression models).
## S3 method for class 'lmfm' plot(x, which.plots = c(5, 2, 6, 4), ...)
x |
an |
which.plots |
either |
... |
additional parameters are ignored. |
x is invisibly returned.
The selected plots are drawn on a graphics device.
See qqPlot.lmfm for 2,
kernDenPlot.lmfm for 3, indexPlot.lmfm for
8, overlaidQQPlot.lmfm for 9,
overlaidKernDenPlot.lmfm for 10,
simpleRegPlot.lmfm for 11, and
scatterPlot.lmfm for the others.
data(stackloss) stack.lm <- lm(stack.loss ~ ., data = stackloss) stack.clean <- lm(stack.loss ~ ., data = stackloss, subset = 5:20) fm <- fit.models(stack.clean, stack.lm) plot(fm)