Hello users,

I would like to obtain a survival curve from a Cox model that is smooth and 
does not have zero differences due to no events for those particular days.
I have:
> sum((diff(surv))==0)
[1] 18

So you can see 18 days where the survival curve did not drop due to no events. 

Is there a way to ask survfit to fit a nice spline for the survival??

Note: I tried survreg and it did not work, but maybe I did not do it properly??

Thank you very much.

Stephen B

______________________________________________
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.

Reply via email to