Learn R Programming

PASWR (version 1.0)

checking.plots: Checking Plots

Description

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

Usage

checking.plots(model, n.id = 3, COL = c("#0080FF", "#A9E2FF"))

Arguments

model
a linear model object
n.id
the number of points to identify
COL
vector of two colors

See Also

twoway.plots

Examples

Run this code
# Figure 11.10
attach(Tire)
mod.aov <- aov(StopDist~tire)
checking.plots(mod.aov)
detach(Tire)

Run the code above in your browser using DataLab