kidney package:survival R Documentation _K_i_d_n_e_y _d_a_t_a _f_r_o_m _s_u_r_v_i_v_a_l_5 _D_e_s_c_r_i_p_t_i_o_n: Data on the recurrence times to infection, at the point of insertion of the catheter, for kidney patients using portable dialysis equipment. Catheters may be removed for reasons other than infection, in which case the observation is censored. Each patient has exactly 2 observations. _F_o_r_m_a_t: patient: id time: time status: event status age: in years sex: 1=male, 2=female disease: disease type (0=GN, 1=AN, 2=PKD, 3=Other) frail: frailty estimate from original paper _N_o_t_e: The original analysis had incorrect handling of ties and so is not exactly reproduced by survival. _S_o_u_r_c_e: McGilchrist and Aisbett, Biometrics 47, 461-66, 1991 _E_x_a_m_p_l_e_s: data(kidney) kfit <- coxph(Surv(time, status)~ age + sex + disease + frailty(id), kidney) kfit0 <- coxph(Surv(time, status)~ age + sex + disease, kidney) kfitm1 <- coxph(Surv(time,status) ~ age + sex + disease + frailty(id, dist='gauss'), kidney)