search for: varselrf_x

Displaying 1 result from an estimated 1 matches for "varselrf_x".

Did you mean: varselrf
2007 Sep 15
0
Question about VarSelRF
....vs1 <- varSelRF(exprSet, cl, ntree = 200, ntreeIterat = 100, vars.drop.frac = 0.2) error in randomForest.default(x = xdata, y = Class, ntree = ntree, mtry = mtry, : length of response must be the same as predictors My code is: library(varSelRF) exprSet <- as.matrix(read.table('varSelRF_x.txt',header = FALSE)) cl <- factor(c(rep("C", 2), rep("D", 2), rep("B", 1), rep("A", 1), rep("D", 1), rep("B", 1), rep("C", 2), rep("B", 1), rep("D", 1), rep("A", 1), rep("D", 2), re...