\HeaderA{pairwise.t.test}{Pairwise t tests}{pairwise.t.test}
\keyword{htest}{pairwise.t.test}
\begin{Description}\relax
Calculate pairwise comparisons between group levels with corrections
for multiple testing
\end{Description}
\begin{Usage}
\begin{verbatim}
pairwise.t.test(x, g, p.adjust.method = p.adjust.methods,
                pool.sd = TRUE, ...)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{x}] Response vector 
\item[\code{g}] Grouping vector or factor 
\item[\code{p.adjust.method}] Method for adjusting p values (see \code{\LinkA{p.adjust}{p.adjust}}) 
\item[\code{pool.sd}] Switch to allow/disallow the use of a pooled SD 
\item[\code{...}] Additional arguments to pass to \code{t.test} 
\end{ldescription}
\end{Arguments}
\begin{Value}
Object of class \code{"pairwise.htest"}
\end{Value}
\begin{SeeAlso}\relax
\code{\LinkA{t.test}{t.test}}, \code{\LinkA{p.adjust}{p.adjust}}
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
attach(airquality)
Month <- factor(Month, labels = month.abb[5:9])
pairwise.t.test(Ozone, Month)
pairwise.t.test(Ozone, Month, p.adj = "bonf")
pairwise.t.test(Ozone, Month, pool.sd = FALSE)
detach()
\end{ExampleCode}
\end{Examples}

