#this is my data set. data_set<-data.frame(x0=c(1,1,0,0), x1=c(1,1,0,0),x2=c(1,1,0,0),x3=c(1,1,0,0),x4=c(1,1,0,0)) #this is my target target<-c(1,1,0,0)
rf.vs1 <- varSelRF(data_set, as.factor(target), ntree = 500, ntreeIterat = 300, vars.drop.frac = 0.2) rf.vs1 rf.vs1[[3]] It is giving me only 2 significant variables, but I am expecting 5 significant variables. Please help. I am a newbie. Regards, Thabung [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.