powered by
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"))
a linear model object
the number of points to identify
vector of two colors
twoway.plots
# NOT RUN { # Figure 11.10 mod.aov <- aov(StopDist~tire, data = Tire) checking.plots(mod.aov) rm(mod.aov) # }
Run the code above in your browser using DataLab