home *** CD-ROM | disk | FTP | other *** search
-
- _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
- _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_-
- _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
- _f_o_r_m_u_l_a.
-
- strata(..., na.group=F)
-
- _A_r_g_u_m_e_n_t_s:
-
- Any number of variables. All must be the same length.
-
- na.group:
- if set to T, then missing values are treated as a dis-
- tinct level of each variable.
-
- Value:
-
- a new factor, whose levels are all possible combina-
- tions of the factors supplied as arguments. The result
- is identical to the interaction() function, but for the
- labeling of the factors (strata is more verbose).
-
- coxph
-
- _E_x_a_m_p_l_e_s:
-
- coxph(Surv(futime, fustat) ~ age + strata(rx))
-
-