rankhazard-package        package:rankhazard        R Documentation

_R_a_n_k-_h_a_z_a_r_d _p_l_o_t_s

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

     Rank-hazard plots visualize the relative importance of covariates
     in a proportional hazards model. The key idea is to rank the
     covariate values and plot the relative hazard as a function of
     ranks scaled to interval [0,1]. The relative hazard is plotted
     with respect to the reference hazard, which can be e.g. the hazard
     related to the median of the covariate.

_D_e_t_a_i_l_s:


       Package:   rankhazard
       Type:      Package
       Version:   0.8
       Date:      2009-06-29
       License:   GPL 2
       LazyLoad:  yes

     The function rankhazardplot receives a coxph (package survival)
     object or a cph (package Design) object as an argument and creates
     a rank-hazard plot of the  covariates. The reference values for
     the relative hazards and legend texts can be provided as optional
     arguments. Plotting parameters such as, lwd, lty, col and pch are
     passed to the plotting commands.

_A_u_t_h_o_r(_s):

     Juha Karvanen <juha.karvanen@iki.fi>

_R_e_f_e_r_e_n_c_e_s:

     J. Karvanen, F. E. Harrell Jr., Visualizing covariates in
     proportional hazards model. Statistics in Medicine, 28:1957-1966,
     2009.

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

     library(survival)
     model <- coxph(Surv(time,status) ~ age + sex + ph.karno, data=cancer, x=TRUE)
     rankhazardplot(model)

