plotRegDiagPlots {dafs} | R Documentation |
Plot some standard regression diagnostic plots
Description
Produces 3 plots in a 2 x 2 array. The plots are a plot of residuals versus predicted values (pred-res plot), a histogram of the residuals with a normal distribution superimposed, and a normal QQ-plot of the residuals.
Usage
plotRegDiagPlots(fit)
Arguments
fit |
A |
Author(s)
J Curran
See Also
plot.lm
Examples
x = runif(100)
y = 3*x+2+dnorm(100)
fit = lm(y~x)
plotRegDiagPlots(fit)
[Package dafs version 1.0-38 Index]