checking.plots {PASWR} | R Documentation |
Function that creates the three graphs discussed in Sections 11.5.1, 11.5.2, and 11.5.3 that assesses independence, normality, and constant variance
checking.plots(model, n.id = 3, COL = c("#0080FF", "#A9E2FF"))
model |
a linear model object |
n.id |
the number of points to identify |
COL |
vector of two colors |
Requires package MASS.
Alan T. Arnholt
# Figure 11.10 attach(Tire) mod.aov <- aov(StopDist~tire) checking.plots(mod.aov) detach(Tire)