Re: [R] Median expected survival

2014-07-11 Thread Andrews, Chris
Hi Lars, Graph it: plot(pred_leuk) will show that some of the survival curves do not reach 0.5 before you run out of data. Thus the median is not estimated and you get NA. Chris -Original Message- From: Lars Bishop [mailto:lars...@gmail.com] Sent: Thursday, July 10, 2014 6:23 AM To:

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