HH (version 3.1-15)

lmplot: Four types of residual plots for linear models.

Description

Four types of residual plots for linear models. Three are redesigns of plots that stats:::plot.lm presents. One is based on an S-Plus panel that R doesn't provide.

Usage

lmplot(lm.object, ...)

Arguments

lm.object
Linear model object. See lm for details.
...
Other arguments, currently ignored.

Value

Details

The trellis plots from the four functions residVSfitted, scaleLocation, diagQQ, diagplot5new are displayed on the current device in a coordinated display.

Examples

Run this code
tmp <- data.frame(y=rnorm(100), x1=rnorm(100), x2=rnorm(100))
tmp.lm <- lm(y ~ x1 + x2, data=tmp)
lmplot(tmp.lm)

Run the code above in your browser using DataCamp Workspace