splitBag {rfVarImpOOB} | R Documentation |
The function properly splits on factor levels
splitBag(treeRow, bag, tree)
treeRow |
current row of tree dataframe to be |
bag |
The data for the current row |
tree |
tree (from randomForest::getTree) |
list with elements left_daughter, right_daughter
Markus Loecher <Markus.Loecher@gmail.com>