hello:
my data looks like:
time1  time2   event  catagoria

2004    2006        1            C
2004    2005        0            C

2005    2010        1            E

2007    2009        1            C

2006    2007        0            E

2008    2010        0            C

2008    2010        1            E
...


and the census interval is 1 year

I have tried  this 

surara<-survfit(Surv(time1,time2,event,type="interval")~categoria)

but it is not working
        [[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