Plots barcharts of sequential sums of squares of lm
plotSeqSS(fits, barcols = NULL, legend = F)
a ggplot
list of lm objects
a vector of colours, one per term in lms
TRUE or FALSE
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