useAggregateErrorTerms: Calculate new F and p-values using an aggregated error term...

Description Usage Arguments Value References See Also Examples

Description

This function calls others of the same family to aggregate the error terms selected in terms.to.combine extract the related effects, and calculate new F ratios and p-values.

Usage

1
useAggregateErrorTerms(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: aggregateErrorTerms, effectTerms, errorTermRatios, errorTerms

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)]
useAggregateErrorTerms(aov.EBR.Table.18.25,terms.to.combine)

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