aggregateErrorTerms: Calculate the aggregated error term from an aov object

Description Usage Arguments Value References See Also Examples

Description

Calculate the aggregated error term from an aov object

Usage

1
aggregateErrorTerms(aov.obj, terms.to.combine)

Arguments

aov.obj

An object of class aov representing an ANOVA calculation

terms.to.combine

(vector) A character vector of the names of the error terms to combine. Note that these are the names embedded in the aov summary. It may be best to extract them from a use of the errorTerms function.

Value

data.frame

References

Rosenthal & Rosnow. (2008). Essentials of Behavioral Research. Boston: Mc Graw Hill.

See Also

Other AggregatingErrorTerms: effectTerms, errorTermRatios, errorTerms, useAggregateErrorTerms

Examples

1
2
3
4
5
6
7
data(EBR.Table.18.25)
aov.EBR.Table.18.25 <- ezANOVA.EBR.Table.18.25$aov
et <- errorTerms(aov.EBR.Table.18.25)
errorTermRatios(aov.EBR.Table.18.25)
et.names <- rownames(et)
terms.to.combine <- et.names[c(2,3,4)]
aggregateErrorTerms(aov.EBR.Table.18.25,terms.to.combine)

drknexus/repsych documentation built on May 15, 2019, 2:19 p.m.