[R] using crr in cmprsk

Rasanga Ruwanthi ruwanthi_kdr at yahoo.com
Wed May 10 14:06:39 CEST 2006

I need to fit model using crr, however my covariate is
categorical with 3 levels. I use 
crr(time,status,agesplit,failcode=1,cencode=0) where
agesplit is defined as <20,21-29,>30 years, so it
takes 0, 1 or 2 for each patient. I hoped to get
estimated coefficients for the levels 1 and 2 w.r.t
level 0 as in coxph. But, I didn't. Could someone
please help me to use crr in this situation?

Thanks a lot.

More information about the R-help mailing list