Test Means Subsets
testMeansSubsets.Rd
Provides the statistical significance tests for a mean contrast and the mean subsets that comprise that contrast.
Usage
# S3 method for data.frame
testMeansSubsets(frame, contrast, main=NULL, labels=NULL, digits=3)
# S3 method for formula
testMeansSubsets(formula, contrast, main=NULL, labels=NULL, digits=3)
# S3 method for wsm
testMeansSubsets(moments, corrs, contrast, main=NULL, labels=NULL, digits=3)
# S3 method for bsm
testMeansSubsets(moments, contrast, main=NULL, labels=NULL, digits=3)
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
- main
a custom title for the table
Value
The returned frame contains the following components:
- Est
the subset means for the variables or groups and the difference
- SE
the standard errors of the subset means for the variables or groups and the difference
- df
the degrees of freedom of the subsets for the variables or groups and the difference
- t
the t value for the subset means and the difference
- p
the p value for the subset means and the difference