Test Means
testMeans.Rd
Provides a statistical significance test for each group or level mean.
Usage
# Default S3 method
testMeans(variable, mu=0, ...)
# S3 method for class 'data.frame'
testMeans(frame, mu=0, ...)
# S3 method for class 'formula'
testMeans(formula, mu=0, ...)
# S3 method for class 'wsm'
testMeans(moments, mu=0, ...)
# S3 method for class 'bsm'
testMeans(moments, mu=0, ...)
Arguments
- variable
a numeric vector of data values
- 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
- mu
a number indicating the true/hypothesized value of the mean