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
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 will that work??factor ?as.factor> > > Thanks > Neil > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! > R-project.org/posting-guide.html-- G??ran Brostr??m tel: +46 90 786 5223 Department of Statistics fax: +46 90 786 6614 Ume?? University stat.umu.se/egna/gb SE-90187 Ume??, Sweden e-mail: gb at stat.umu.se