Displaying 1 result from an estimated 1 matches for "numberofrows".
Did you mean:
number_rows
2012 Jun 15
0
argument "x" is missing, with no default - Please help find argument x
...cv.evaluate$remitter
mymean<-mean(cv.evaluate$correct)
retlist<-data.frame(mtry, sumvar$se, sumvar$sp, mean(cv.evaluate$correct))
return(retlist)
}
subloop<- function(mtry=mtry, ml.frame=ml.frame, ntrees=ntrees) {
nfolds<- 10
# shuffle the numbers and divide into 10 groups
numberOfRows<-dim(ml.frame)[1]
lengthOfDiv<-numberOfRows/nfolds
shuffled<-sample(c(1:numberOfRows), numberOfRows, replace=F)
rownumber<-split(shuffled, 1:nfolds)
#combine mymean into my vec
myvec<-foreach (i = 1:length(rownumber), .combine="rbind") %dopar%
bottomloop(i, mtry =...