pairwise.prop.test | R Documentation |
Calculate pairwise comparisons between pairs of proportions with correction for multiple testing
pairwise.prop.test(x, n, p.adjust.method = p.adjust.methods, ...)
x |
Vector of counts of successes or a matrix with 2 columns giving the counts of successes and failures, respectively. |
n |
Vector of counts of trials; ignored if |
p.adjust.method |
Method for adjusting p values
(see |
... |
Additional arguments to pass to |
Object of class "pairwise.htest"
prop.test
, p.adjust
smokers <- c( 83, 90, 129, 70 ) patients <- c( 86, 93, 136, 82 ) pairwise.prop.test(smokers, patients)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.