ERSA (version 0.1.3)

plotSeqSS: 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)

Value

a ggplot

Arguments

fits

list of lm objects

barcols

a vector of colours, one per term in lms

legend

TRUE or FALSE

Examples

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

Run the code above in your browser using DataLab