Test Means Interaction
testMeansInteraction.Rd
Provides the statistical significance tests for the simple effects and the interaction contrast in a 2x2 design.
Usage
# S3 method for data.frame
testMeansInteraction(frame, ...)
# S3 method for formula
testMeansInteraction(formula, ...)
# S3 method for bsm
testMeansInteraction(moments, ...)
# S3 method for wsm
testMeansInteraction(moments, corrs, conf.level=.95, ...)
Arguments
- frame
a set of (non-empty) numeric vectors of data values
- formula
a formula of the form
lhs ~ rhs
wherelhs
is a numeric variable giving the data values andrhs
a factor giving the corresponding groups- moments
a list of matrices/frames of descriptive/summary statistics
- corrs
a list of matrices/frames of correlations
- by
a factor used for blocking
Value
The returned frame contains the following components:
- Est
the contrast for the simple effects and the interaction
- SE
the standard errors for the simple effects and the interaction
- df
the degrees of freedom for the simple effects and the interaction
- t
the t value for the simple effects and the interaction
- p
the p value for the simple effects and the interaction