splitBag {rfVarImpOOB} | R Documentation |
splits the data from parent node into left and right children
Description
The function properly splits on factor levels
Usage
splitBag(treeRow, bag, tree)
Arguments
treeRow |
current row of tree dataframe to be |
bag |
The data for the current row |
tree |
tree (from randomForest::getTree) |
Value
list with elements left_daughter, right_daughter
Author(s)
Markus Loecher <Markus.Loecher@gmail.com>
[Package rfVarImpOOB version 1.0.3 Index]