Re: [R] Convert SAS code to R code about survival analysis

2011-06-14 Thread Paul Hiemstra
Dear Karena, Your title in the SAS analysis suggests this is homework related to some course. If this is true, please refer to your tutor for these kinds of questions, this mailing is list is not meant for these kinds of questions [1]. For survival analysis in R, the CRAN task view for that topic

[R] Convert SAS code to R code about survival analysis

2011-06-13 Thread karena
Hi, I am working on transforming a SAS code to R code. It's about the survival analysis and the SAS code is as below: -- proc lifetest data=surdata plot=(s); time surv*censht(1); strata educ; title 'Day 1 homework'; run;