[R] randomForest: help with combine() function

Dennis Duro dennis.duro at gmail.com
Sat Dec 11 05:59:10 CET 2010


I've built two RF objects (RF1 and RF2) and have tried to combine
them, but I get the following error:

Error in rf$votes + ifelse(is.na(rflist[[i]]$votes), 0, rflist[[i]]$votes) :
  non-conformable arrays
In addition: Warning message:
In rf$oob.times + rflist[[i]]$oob.times :
  longer object length is not a multiple of shorter object length


Both RF models use the same variables, although the NAs in both models
likely differ (using na.roughfix in both models). I assume this is
part of the reason that my arrays are "non-conformable". If so, does
anyone have any suggestions on how to combine in such a situation? How
similar do RFs have to be in order to combine?

Cheers



More information about the R-help mailing list