The R Project SVN R

Rev

Rev 59039 | Rev 68948 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 59039 Rev 61433
Line 6... Line 6...
6
\name{pairwise.t.test}
6
\name{pairwise.t.test}
7
\alias{pairwise.t.test}
7
\alias{pairwise.t.test}
8
\title{ Pairwise t tests}
8
\title{ Pairwise t tests}
9
\description{
9
\description{
10
 Calculate pairwise comparisons between group levels with corrections
10
 Calculate pairwise comparisons between group levels with corrections
11
 for multiple testing 
11
 for multiple testing
12
}
12
}
13
\usage{
13
\usage{
14
pairwise.t.test(x, g, p.adjust.method = p.adjust.methods,
14
pairwise.t.test(x, g, p.adjust.method = p.adjust.methods,
15
                pool.sd = !paired, paired = FALSE,
15
                pool.sd = !paired, paired = FALSE,
16
                alternative = c("two.sided", "less", "greater"),
16
                alternative = c("two.sided", "less", "greater"),
Line 35... Line 35...
35
  so \code{pool.sd} and \code{paired} cannot both be \code{TRUE}.
35
  so \code{pool.sd} and \code{paired} cannot both be \code{TRUE}.
36
 
36
 
37
  Only the lower triangle of the matrix of possible comparisons is being
37
  Only the lower triangle of the matrix of possible comparisons is being
38
  calculated, so setting \code{alternative} to anything other than
38
  calculated, so setting \code{alternative} to anything other than
39
  \code{"two.sided"} requires that the levels of \code{g} are ordered
39
  \code{"two.sided"} requires that the levels of \code{g} are ordered
40
  sensibly. 
40
  sensibly.
41
}
41
}
42
\value{
42
\value{
43
  Object of class \code{"pairwise.htest"}
43
  Object of class \code{"pairwise.htest"}
44
}
44
}
45
\seealso{ \code{\link{t.test}}, \code{\link{p.adjust}}}
45
\seealso{ \code{\link{t.test}}, \code{\link{p.adjust}}}