pairwise.prop.test

0th

Percentile

Pairwise comparisons for proportions

Calculate pairwise comparisons between pairs of proportions with correction for multiple testing

Keywords
htest
Usage
pairwise.prop.test(x, n, p.adjust.method = p.adjust.methods, ...)
Arguments
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 x is a matrix.
p.adjust.method
Method for adjusting p values (see p.adjust). Can be abbreviated.
Additional arguments to pass to prop.test
Value

Object of class "pairwise.htest"

See Also

prop.test, p.adjust

Aliases
  • pairwise.prop.test
Examples
library(stats) smokers <- c( 83, 90, 129, 70 ) patients <- c( 86, 93, 136, 82 ) pairwise.prop.test(smokers, patients)
Documentation reproduced from package stats, version 3.3.3, License: Part of R 3.3.3

Community examples

Looks like there are no examples yet.