
Tidy version of the aov object into a flextable object
Source:R/tabularise.anova.R
tabularise_tidy.aov.Rd
Tidy version of the aov object into a flextable object
Usage
# S3 method for aov
tabularise_tidy(data, ..., kind = "ft", env = parent.frame())
Arguments
- data
An anova object
- ...
Additional arguments passed to
tabularise_tidy.anova()
- kind
The kind of table to produce: "tt" for tinytable, or "ft" for flextable (default).
- env
The environment where to evaluate the object.
Examples
iris_aov <- aov(data = iris, Petal.Length ~ Species)
tabularise::tabularise$tidy(iris_aov)
Analysis of variance
Term
Df
Sum of squares
Mean squares
Fobs. value
p value
Species
2
437.1
218.551
1180
< 2·10-16
***
Residuals
147
27.2
0.185
0 <= '***' < 0.001 < '**' < 0.01 < '*' < 0.05