split: Split node

Description Usage Arguments Value

View source: R/splitEAT.R

Description

This function gets the variable and split value to be used in estimEAT, selects the best split and updates VarInfo, node indexes and leaves list.

Usage

1
split(data, tree, leaves, t, x, y, numStop)

Arguments

data

Data to be used.

tree

List structure with the tree nodes.

leaves

List with leaf nodes or pending expansion nodes.

t

Node which is being split.

x

Column input indexes in data.

y

Column output indexes in data.

numStop

Minimum number of observations in a node to be split.

Value

Leaves and tree lists updated with the new child nodes.


MiriamEsteve/EAT documentation built on Jan. 18, 2022, 6:55 p.m.