search for: questimp1104m

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

2008 Jul 03
1
Migrating from S-Plus to R - Exporting Tables
....88 188.45 38.79 86.98 > 3 2161 10.09 188.22 39.38 87.13 > 4 1934 9.03 175.7 34.59 86.98 > tot 21411 100 184.53 37.77 86.98 > > using this code: > for (i in 1:length(nrotulos04)) { > write.table(nomequest[i], > "Y:/questimp1104m.txt",dec=".",sep=";",append=T,quote=F) > write.table(questimp[[i]], > "Y:/questimp1104m.txt",dec=".",sep=";",append=T,quote=F) > } > > > How can I put the row.names before the col num in R? And how can I remove > the x in f...
2008 Jul 02
1
randomForest training error
While trying to train randomForest with my dataset, I am ending up with the following error Error in randomForest.default(datatrain, classtrain) : length of response must be the same as predictors My data looks like: A,B,C,D,Class 1,2,1,2,cl1 1,2,1,2,cl1 3,2,1,2,cl2 3,2,1,2,cl2 3,2,1,2,cl2 3,2,1,2,cl2 3,2,1,2,cl2 3,2,1,2,cl2 3,2,1,2,cl2 3,2,12,3,cl2 3,2,1,2,cl2 Actual dataset has around 4000