survfit                package:Design                R Documentation

_M_o_d_i_f_i_e_d _V_e_r_s_i_o_n _o_f _s_u_r_v_i_v_a_l _P_a_c_k_a_g_e _s_u_r_v_f_i_t _F_u_n_c_t_i_o_n

_D_e_s_c_r_i_p_t_i_o_n:

     This modification of 'survfit' keeps attributes of the 'Surv'
     object, users 'Hmisc''s 'interaction()' to form strata labels, and
     uses a default confidence interval basis of log-log.

_U_s_a_g_e:

     survfit(formula, data, weights, subset, na.action = na.delete, conf.type = c("log-log", "log", "plain", "none"), ...)

_A_r_g_u_m_e_n_t_s:

 formula: 

    data: 

 weights: 

  subset: 

na.action: 

conf.type: 

     ...: see 'survfit'

_V_a_l_u_e:

     see 'survfit'

_S_e_e _A_l_s_o:

     'survfit'

_E_x_a_m_p_l_e_s:

     ## Not run: 
     #fit a Kaplan-Meier and print the results
     data(aml)
     survfit(Surv(time, status) ~ x, data=aml)
     ## End(Not run)

