tidy_stats.aov: Create a tidy stats data frame from an aov object

Description Usage Arguments Examples

View source: R/tidy_stats.aov.r

Description

tidy_stats.aov takes an aov object and converts the object to a tidy stats data frame.

Usage

1
2
## S3 method for class 'aov'
tidy_stats(model, args = NULL)

Arguments

model

Output of aov without within-subject factors.

args

Unused.

Examples

1
2
3
4
5
# Conduct an ANOVA
model_aov <- aov(yield ~ block + N * P * K, npk)

# Tidy stats
tidy_stats(model_aov)

WillemSleegers/tidystats-v0.3 documentation built on Aug. 12, 2019, 5:31 p.m.