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

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


rfVarImpOOB documentation built on July 1, 2022, 5:05 p.m.