Hi,

 

I am attempting to graph a Kaplan Meier estimate for some claims using the 
survfit function. However, I was wondering if it is possible to plot a cdf of 
the kaplan meier rather than the survival function. Here is some of my code:

 

library(survival)
Surv(claimj,censorj==0)
survfit(Surv(claimj,censorj==0)~1)
surv.all<-survfit(Surv(claimj,censorj==0)~1)
summary(surv.all)
plot(surv.all)
I would really appreciate any assistance. Thank you.

 

Regards,

 

Andre
                                          
        [[alternative HTML version deleted]]

______________________________________________
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