Test Means Contrast
testMeansContrast.Rd
Provides a statistical significance test of the mean contrast.
Usage
# S3 method for data.frame
testMeansContrast(frame, contrast, mu=0, ...)
# S3 method for formula
testMeansContrast(formula, contrast, mu=0, ...)
# S3 method for wsm
testMeansContrast(moments, corrs, contrast, mu=0, ...)
# S3 method for bsm
testMeansContrast(moments, contrast, mu=0, ...)
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 matrix/frame of descriptive/summary statistics
- corrs
a matrix/frame of correlations among the measures
- contrast
a vector of codes for the contrast among all means
- mu
a number indicating the true/hypothesized value of the mean contrast