Learn R Programming

PASWR (version 1.1)

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
# 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