-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathestimateContrast.Rd
36 lines (29 loc) · 1.43 KB
/
estimateContrast.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
% File man/estimateContrast.Rd
% Part of the DEVISE package, https://github.com/cwendorf/DEVISE
\name{estimateContrast}
\alias{estimateContrast}
\alias{estimateMeansContrast}
\title{Estimate Contrast}
\description{Provides the mean contrast, standard error, and confidence interval of the contrast.}
\usage{
\method{estimateContrast}{data.frame}(frame, contrast, conf.level=.95, ...)
\method{estimateContrast}{formula}(formula, contrast, conf.level=.95, ...)
\method{estimateContrast}{wsm}(moments, corrs, contrast, conf.level=.95, ...)
\method{estimateContrast}{bsm}(moments, contrast, conf.level=.95, ...)
}
\arguments{
\item{frame}{a set of (non-empty) numeric vectors of data values}
\item{formula}{a formula of the form \code{lhs ~ rhs} where \code{lhs} is a numeric variable giving the data values and \code{rhs} a factor giving the corresponding groups}
\item{moments}{a matrix/frame of descriptive/summary statistics}
\item{corrs}{a matrix/frame of correlations among the measures}
\item{contrast}{a vector of codes for the contrast among all means}
\item{conf.level}{confidence level of the interval}
}
\value{
The returned frame contains the following components:
\item{Est}{the contrast among the means}
\item{SE}{the standard error of the contrast}
\item{df}{the degrees of the freedom for the contrast}
\item{LL}{the lower limit of the confidence interval for the contrast}
\item{UL}{the upper limit of the confidence interval for the contrast}
}