home *** CD-ROM | disk | FTP | other *** search
/ Big Green CD 8 / BGCD_8_Dev.iso / NEXTSTEP / UNIX / Educational / R-0.49-MI / R-0.49-M / help / survival4 / strata < prev    next >
Encoding:
Text File  |  1997-09-13  |  1.1 KB  |  30 lines

  1.     
  2.     _I_d_e_n_t_i_f_y _s_t_r_a_t_a _v_a_r_i_a_b_l_e_s. _T_h_i_s _i_s _a _s_p_e_c_i_a_l _f_u_n_c_t_i_o_n _u_s_e_d
  3.     _i_n _t_h_e _c_o_n_t_e_x_t _o_f _t_h_e _C_o_x _m_o_d_e_l.  _I_t _i_d_e_n_t_i_f_i_e_s _s_t_r_a_t_i_f_i_c_a_-
  4.     _t_i_o_n _v_a_r_i_a_b_l_e_s _w_h_e_n _t_h_e_y _a_p_p_e_a_r _o_n _t_h_e _r_i_g_h_t _h_a_n_d _s_i_d_e _o_f _a
  5.     _f_o_r_m_u_l_a.
  6.     
  7.          strata(..., na.group=F)
  8.     
  9.     _A_r_g_u_m_e_n_t_s:
  10.     
  11.          Any number of variables.  All must be the same length.
  12.     
  13.          na.group:
  14.          if set to T, then missing values are treated as a dis-
  15.          tinct level of each variable.
  16.     
  17.          Value:
  18.     
  19.          a new factor, whose levels are all possible combina-
  20.          tions of the factors supplied as arguments.  The result
  21.          is identical to the interaction() function, but for the
  22.          labeling of the factors (strata is more verbose).
  23.     
  24.          coxph
  25.     
  26.     _E_x_a_m_p_l_e_s:
  27.     
  28.          coxph(Surv(futime, fustat) ~ age + strata(rx))
  29.     
  30.