terminalFunction function

Generate Terminal Node Indicator

Generate Terminal Node Indicator

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

terminalFunction(data)

Arguments

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

Returns

The modified data frame with an additional terminal column.

  • Maintainer: Alan Inglis
  • License: GPL (>= 2)
  • Last published: 2024-07-24

Useful links