arrange_anova: Create variance table from various ANOVA objects
Description
These methods take objects from various R functions that calculate ANOVA to create
a data.frame containing a variance table. This function is not exported.
Usage
arrange_anova(x, ...)
"arrange_anova"(x)
"arrange_anova"(x)
"arrange_anova"(x, correction = "GG")
Arguments
x
Output object. See details.
...
Further arguemnts to pass to methods.
correction
Character. For summary.Anova.mlm objects, specifies the type of
sphericity correction to be used. Either GG for Greenhouse-Geisser or HF
for Huyn-Feldt methods or none is also possible. Ignored for other objects.
Value
data.frame of class apa_variance_table or apa_model_comp.
Details
The returned data.frame can be passed to functions such as print_anova.
Currently, methods for the following objects are available:
## Not run: # ## From Venables and Ripley (2002) p. 165.# npk_aov <- aov(yield ~ block + N * P * K, npk)# arrange_anova(summary(npk_aov))# ## End(Not run)