Skip to contents
loading...

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.

Value

flextable object you can print in different form or rearrange with the {flextable} functions.

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