Test Means Difference
testMeansDifference.Rd
Provides a statistical significance test of the mean difference.
Usage
# S3 method for data.frame
testMeansDifference(frame, mu=0, ...)
# S3 method for formula
testMeansDifference(formula, mu=0, ...)
# S3 method for wsm
testMeansDifference(moments, corrs, mu=0, ...)
# S3 method for bsm
testMeansDifference(moments, 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
- mu
a number indicating the true/hypothesized value of the mean difference