\Header{pairwise.prop.test}{Pairwise comparisons of proportions}
\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{\Link{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{\Link{prop.test}}, \code{\Link{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}

