Re: [R] Median expected survival

2014-07-11 Thread Andrews, Chris
To: r-help@r-project.org Subject: [R] Median expected survival Hi All, Apologies for the simple question, but I could not find a straightforward answer based on my limited knowledge of survival analysis. I’m trying to obtain the predicted median survival time for each subject on a new dataset from

[R] Median expected survival

2014-07-10 Thread Lars Bishop
Hi All, Apologies for the simple question, but I could not find a straightforward answer based on my limited knowledge of survival analysis. I’m trying to obtain the predicted median survival time for each subject on a new dataset from a fitted coxph{survival} or cph{rms} object. Would the

Re: [R] Median expected survival

2014-07-10 Thread Marco Barbàra
Hi, Lars. I don't understand well your question. why don't you simply type pred_leuk Call: survfit(formula = leuk.cox, newdata = leuk_new) records n.max n.start events median 0.95LCL 0.95UCL 1 4242 42 30 1 1 23 2 4242 42 30 7