tidy_anova | R Documentation |
Tidy a(n) ANOVA table
tidy_anova(x, model = FALSE)
x |
an object containing the results returned by a model fitted with lm(). |
model |
Logical indicating whether the model-level partitioning (TRUE) or term-level partitioning (FALSE; default) should be used |
A data.frame with columns for the source of variation, degrees of freedom, Sum of Squares, Mean Squares, F-statistics, and p-values
lm.1 = lm(mpg ~ 1 + hp + wt, data = mtcars)
tidy_anova(lm.1, model = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.