AVPs {s20x}R Documentation

Added Variable plots for an linear model

Description

Plots the added variable plot for each variable used in fitting the linear model, lmfit.

Usage

AVPs(lmfit, nrow=2, ncol=2)

Arguments

lmfit an lm object, i.e. the output from "lm()".
nrow number of rows of plots per page.
ncol number of columns of plots per page.

Value

Returns the plots.

See Also

"pairs.20x"

Examples

# Peruvian Indians data
data(peru)
attach(peru)
fit<-lm(BP~ age+ years+ weight+ height)
AVPs(fit) 

[Package s20x version 2.0.1 Index]