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-I / help / survival4 / cluster < prev    next >
Encoding:
Text File  |  1997-09-13  |  818 b   |  25 lines

  1.     
  2.     _I_d_e_n_t_i_f_y _c_l_u_s_t_e_r_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 _i_n _t_h_e
  3.     _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 _c_o_r_r_e_l_a_t_e_d _g_r_o_u_p_s
  4.     _o_f _o_b_s_e_r_v_a_t_i_o_n_s, _a_n_d _i_s _u_s_e_d _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.          cluster(x)
  8.     
  9.     _A_r_g_u_m_e_n_t_s:
  10.     
  11.                 x:
  12.          A character, factor, or numeric variable.
  13.     
  14.          Value:
  15.     
  16.          x The function's only action is semantic, to mark a
  17.          variable as the cluster indicator.
  18.     
  19.          coxph
  20.     
  21.     _E_x_a_m_p_l_e_s:
  22.     
  23.          coxph(Surv(futime, fustat) ~ age + cluster(group))
  24.     
  25.