plotSeqSS | R Documentation |
Plots barcharts of sequential sums of squares of lm
plotSeqSS(fits, barcols = NULL, legend = F)
fits |
list of lm objects |
barcols |
a vector of colours, one per term in lms |
legend |
TRUE or FALSE |
a ggplot
plotSeqSS(list(fit1= lm(mpg ~ wt+hp+disp, data=mtcars),
fit2=lm(mpg ~ wt*hp*disp, data=mtcars)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.