aovTidyTable | R Documentation |
Take output from base aov function and produce a "tidy" ANOVA table similar to the output of ezANOVA. The output also contains the marginal means.
aovTidyTable(aovObj)
aovObj |
Output from aov function |
list
# create dataframe dat <- createDF(nVP = 6, nTrl = 1, design = list("Comp" = c("comp", "incomp"))) dat <- addDataDF(dat, RT = list("Comp comp" = c(500, 150, 100), "Comp incomp" = c(520, 150, 100))) aovObj <- aov(RT ~ Comp + Error(VP/(Comp)), dat) aovObj <- aovTable(aovObj) aovObj$ANOVA printTable(aovObj$ANOVA)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.