[R] Adding factor variable to a CoxPH

Neil Leonard nleonard at tartarus.uwa.edu.au
Sat Oct 9 03:03:23 CEST 2004

I think this is a pretty basic statistic question:

If I have a variable which has 4 factors how can I add it to a coxph 
model? I have other variables added which have digits 1-4 instead of 
four factors. If I recode the variable will that work?


More information about the R-help mailing list