pairwise.prop.test           package:stats           R Documentation

_P_a_i_r_w_i_s_e _c_o_m_p_a_r_i_s_o_n_s _o_f _p_r_o_p_o_r_t_i_o_n_s

_D_e_s_c_r_i_p_t_i_o_n:

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

_U_s_a_g_e:

     pairwise.prop.test(x, n, p.adjust.method = p.adjust.methods, ...)

_A_r_g_u_m_e_n_t_s:

       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') 

     ...: Additional arguments to pass to 'prop.test' 

_V_a_l_u_e:

     Object of class '"pairwise.htest"'

_S_e_e _A_l_s_o:

     'prop.test', 'p.adjust'

_E_x_a_m_p_l_e_s:

     smokers  <- c( 83, 90, 129, 70 )
     patients <- c( 86, 93, 136, 82 )
     pairwise.prop.test(smokers, patients)

