aovDispTable {psychReport} | R Documentation |
aovDispTable
Description
Display formatted ANOVA table in command window.
Usage
aovDispTable(aovObj, caption = sys.call())
Arguments
aovObj |
Output from aov or ezANOVA |
caption |
Required for heading |
Examples
# Example 1:
# 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)
aovDispTable(aovObj)
# or with ezANOVA
library(ez)
aovRT <- ezANOVA(dat, dv=.(RT), wid = .(VP), within = .(Comp), return_aov = TRUE, detailed = TRUE)
aovDispTable(aovRT)
[Package psychReport version 3.0.2 Index]