plotSeqSS {ERSA}R Documentation

Plots barcharts of sequential sums of squares of lm

Description

Plots barcharts of sequential sums of squares of lm

Usage

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

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

[Package ERSA version 0.1.4 Index]