splitBag: splits the data from parent node into left and right children

Description Usage Arguments Value Author(s)

Description

The function properly splits on factor levels

Usage

1
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>


markusloecher/rfVarImpOOB documentation built on July 5, 2020, 6:50 p.m.