\HeaderA{pairwise.prop.test}{Pairwise comparisons for proportions}{pairwise.prop.test}
\keyword{htest}{pairwise.prop.test}
\begin{Description}\relax
Calculate pairwise comparisons between pairs of proportions with
correction for multiple testing
\end{Description}
\begin{Usage}
\begin{verbatim}
pairwise.prop.test(x, n, p.adjust.method = p.adjust.methods, ...)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{x}] Vector of counts of successes or a matrix with 2 columns
giving the counts of successes and failures, respectively. 
\item[\code{n}] Vector of counts of trials; ignored if \code{x} is a matrix.
\item[\code{p.adjust.method}] Method for adjusting p values
(see \code{\LinkA{p.adjust}{p.adjust}}) 
\item[\code{...}] Additional arguments to pass to \code{prop.test} 
\end{ldescription}
\end{Arguments}
\begin{Value}
Object of class \code{"pairwise.htest"}
\end{Value}
\begin{SeeAlso}\relax
\code{\LinkA{prop.test}{prop.test}}, \code{\LinkA{p.adjust}{p.adjust}}
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
smokers  <- c( 83, 90, 129, 70 )
patients <- c( 86, 93, 136, 82 )
pairwise.prop.test(smokers, patients)
\end{ExampleCode}
\end{Examples}

