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.
Usage
reg.anova(lm.out)
Arguments
lm.out
An object of class lm (i.e., the results from the linear model fitting routine such that
the anova function can act upon).
Value
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.
References
Young, D. S. (2017), Handbook of Regression Methods, CRC Press.