Re: [R] Adding factor variable to a CoxPH

2004-10-09 Thread Göran Broström
On Sat, Oct 09, 2004 at 09:03:23AM +0800, Neil Leonard wrote: 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

[R] Adding factor variable to a CoxPH

2004-10-08 Thread Neil Leonard
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? Thanks Neil