Estimate Means Contrast
estimateMeansContrast.Rd
Provides the mean contrast, standard error, and confidence interval of the contrast.
Usage
# S3 method for data.frame
estimateMeansContrast(frame, contrast, conf.level=.95, ...)
# S3 method for formula
estimateMeansContrast(formula, contrast, conf.level=.95, ...)
# S3 method for wsm
estimateMeansContrast(moments, corrs, contrast, conf.level=.95, ...)
# S3 method for bsm
estimateMeansContrast(moments, contrast, 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 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
- conf.level
confidence level of the interval
Value
The returned frame contains the following components:
- Est
the contrast among the means
- SE
the standard error of the contrast
- df
the degrees of the freedom for the contrast
- LL
the lower limit of the confidence interval for the contrast
- UL
the upper limit of the confidence interval for the contrast