View source: R/generic_functions.R
terminalFunction | R Documentation |
Adds a boolean 'terminal' column to the dataset indicating whether each node is terminal.
terminalFunction(data)
data |
A data frame containing tree structure information with at least 'treeNum', 'iteration', and 'depth' columns. |
The modified data frame with an additional 'terminal' column.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.