Re: [R] randomForest and ordered factors

2008-04-29 Thread Birgit Lemcke
Hello Andy, thanks for your answer and sorry that I did not check the rfNews. You are right, presently I am only looking at variable importance and therefore I am very happy to hear that I won`t have problems using ordered factors. Since I just started to fiddle around with randomForest it mi

Re: [R] randomForest and ordered factors

2008-04-29 Thread Liaw, Andy
If you are using the latest version (4.5-25), you will see in rfNews() that that's the problem I need to fix. The package was able to handle ordered factors, but some more stringent checks for factor levels consistency introduced in 4.5-23 broke the support for ordered factors in prediction.

[R] randomForest and ordered factors

2008-04-29 Thread Birgit Lemcke
Hello R-user! I am running R 2.7.0 on a Power Book (Tiger). (I am still R and statistics beginner) I try to find the most important variables to divide my dataset as given in a categorical variable. code: Test.rf4<-randomForest(Sex~.,na.action=na.roughfix, data=Subset4, importance=TRUE