[R] censoring

Roland Rau roland.rproject at gmail.com
Tue May 8 20:27:04 CEST 2007

Well, I guess it makes quite a difference in survival analysis whether 
you know that a person was alive/censored or experienced the event of 
interest at a certain point of time/age. You could have tried it easily 
for yourself by slightly modifying the example on the help page of 

survdiff(Surv(futime, fustat) ~ rx,data=ovarian)
survdiff(Surv(futime, 1-fustat) ~ rx,data=ovarian)

If you want to work more in survival analysis, I can recommend the book 
John P. Klein / Melvin L. Moeschberger (2003): Survival Analysis. 
Techniques for Censored and Truncated Data. Springer. (but it gives no 
recipes in R).

Hope this helps,

raymond chiruka wrote:
> in R when carring out the log rank test is the censored variable denoted by 1 or 0 or its of no consequence.
>   thanks
> ---------------------------------
> always stay connected to friends.
> 	[[alternative HTML version deleted]]
> ______________________________________________
> R-help at stat.math.ethz.ch 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.

More information about the R-help mailing list