plotSeqSS: Plots barcharts of sequential sums of squares of lm

Description Usage Arguments Value Examples

View source: R/appPlots.R

Description

Plots barcharts of sequential sums of squares of lm

Usage

1
plotSeqSS(fits, barcols = NULL, legend = F)

Arguments

fits

list of lm objects

barcols

a vector of colours, one per term in lms

legend

TRUE or FALSE

Value

a ggplot

Examples

1
2
plotSeqSS(list(fit1= lm(mpg ~ wt+hp+disp, data=mtcars),
fit2=lm(mpg ~ wt*hp*disp, data=mtcars)))

cbhurley/ERSA documentation built on July 30, 2018, 12:04 p.m.