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 > follows: > coxfita = coxph(Surv(rem.Remtime,rem.Rcens)~nearma$all.age,data=nearma) > exp(coxfita$coefficients) > exp(confint(coxfita)) > > 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. Dieter ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.