reg.anova | R Documentation |
Calculate the ANOVA table for an object of class lm
. The results are identical to those obtained from anova
, but an extra line is included that prints the total degrees of freedom and the total sum of squares.
reg.anova(lm.out)
lm.out |
An object of class |
reg.anova
returns exactly the same output as the anova
function applied to an object of class lm
, but includes an extra line that summarizes the total source of variability.
Young, D. S. (2017), Handbook of Regression Methods, CRC Press.
anova
, lm
## Applied to the toy dataset.
data(toy)
lm.out <- lm(y ~ x, data = toy)
anova(lm.out)
reg.anova(lm.out)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.