splitBag | 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>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.