search for: subset4

Displaying 2 results from an estimated 2 matches for "subset4".

Did you mean: subset
2009 Sep 13
1
Manage an unknown and variable number of data frames
...ollowing as it doesn't # get managed automatically. Subset1 = subset(subset(dat, aRange==CutTable$a[1]), bRange==CutTable$b[1])[1:2] Subset2 = subset(subset(dat, aRange==CutTable$a[2]), bRange==CutTable$b[2])[1:2] Subset3 = subset(subset(dat, aRange==CutTable$a[3]), bRange==CutTable$b[3])[1:2] Subset4 = subset(subset(dat, aRange==CutTable$a[4]), bRange==CutTable$b[4])[1:2] Subset1 Subset2 Subset3 Subset4 CutTable
2008 Apr 29
1
randomForest and ordered factors
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, proximity=TRUE, ntree=10000, do.trace=1000, keep.forest=FALSE) My dataset contains also ordered factors classified as such. Is randomForest able to deal with it, does it change anything or is there no difference in using factors or ordered factors? Many thanks in advance...