basehaz package:survival R Documentation _C_o_m_p_u_t_e _t_h_e _b_a_s_e_l_i_n_e _s_u_r_v_i_v_a_l _c_u_r_v_e _f_o_r _a _C_o_x _m_o_d_e_l _D_e_s_c_r_i_p_t_i_o_n: Compute the baseline survival curve for a Cox model. _U_s_a_g_e: basehaz(fit, centered = TRUE) _A_r_g_u_m_e_n_t_s: fit: The result of a 'coxph' fit. centered: If TRUE, the resultant curve is for a hypothetical subject whose covariate values are the corresponding means from the original data, otherwise for a hypothetical subject with a mean vector of zero. _D_e_t_a_i_l_s: This function exists primarily because users will look for the phrase 'baseline hazard' (often SAS converts looking for familiar keywords.) The primary function for creating a survival curve is 'survfit', which this calls. See that manual page for more options, including confidence limits and the ability to use other covariate vectors. The result of 'survfit' also has print, plot and summary methods that make it far more useful. _V_a_l_u_e: a data frame with components time: The sorted vector of unique time points (those at which an event occurred hazard: The baseline hazard function strata: If 'fit' was a stratified Cox model, the strata. There will be one survival curve per strata. _S_e_e _A_l_s_o: 'survfit'