[R] Hazard plot
dieter.menne at menne-biomed.de
Mon Sep 29 16:41:11 CEST 2008
Laura Bonnett <l.j.bonnett <at> googlemail.com> writes:
> I am looking at a continuous variable, age. I am looking at time to
> 12-month remission and can calculate the HR and 95% confidence interval are
> coxfita = coxph(Surv(rem.Remtime,rem.Rcens)~nearma$all.age,data=nearma)
> However, because I am looking at age as a continuous variable I cannot draw
> a Kaplan-Meier curve. Instead I need to draw a plot of hazard against age.
Function survplot in package Design has "hazard" as an option.
More information about the R-help