tidy_anova: Tidy a(n) ANOVA table

View source: R/tidy_anova.R

tidy_anovaR Documentation

Tidy a(n) ANOVA table

Description

Tidy a(n) ANOVA table

Usage

tidy_anova(x, model = FALSE)

Arguments

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

Value

A data.frame with columns for the source of variation, degrees of freedom, Sum of Squares, Mean Squares, F-statistics, and p-values

Examples

lm.1 = lm(mpg ~ 1 + hp + wt, data = mtcars)
tidy_anova(lm.1, model = TRUE)


zief0002/educate documentation built on July 27, 2023, 9:25 a.m.