terminalFunction {bartMan}R Documentation

Generate Terminal Node Indicator

Description

Adds a boolean 'terminal' column to the dataset indicating whether each node is terminal.

Usage

terminalFunction(data)

Arguments

data

A data frame containing tree structure information with at least 'treeNum', 'iteration', and 'depth' columns.

Value

The modified data frame with an additional 'terminal' column.


[Package bartMan version 0.1.1 Index]