Hi Fello:
 
I am asked to compute the Kaplan-Meier estimator of data with right censoring 
without using surfit(). Does anyone know how to use R to compute the estimators?
The data should input X: vector of right-censored observed time for n 
individuals, and d: vector of failure time indicators (0=censored 
individual;1=unconsored individual)
and the function should return with
t: vector of sorted observed event times, in increasing order; and km: vector 
of Kaplan-Meier estimates, corresponding to t.
 
Thanks
 
Best Regards,
_________________________________________________________________


owitworks_012009
        [[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