plotRegDiagPlots {dafs} | R Documentation |
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.
plotRegDiagPlots(fit)
fit |
A |
J Curran
plot.lm
x = runif(100)
y = 3*x+2+dnorm(100)
fit = lm(y~x)
plotRegDiagPlots(fit)