Four diagnostic panels modelled on stats::plot.lm(): residuals vs
fitted, normal Q-Q of standardized residuals, scale-location, and
residuals vs leverage with Cook's-distance contours.
Usage
# S3 method for class 'ols'
plot(x, which = 1:4, id.n = 3L, ...)Arguments
- x
A fitted object of class
"ols".- which
Integer subset of
1:4selecting which panels to draw. Default1:4.- id.n
Number of extreme points to label per panel (default
3; set0to suppress).- ...
Further graphical parameters passed to the underlying
plot()calls.