View source: R/get_parent_id.R
get_parent_id | R Documentation |
Get ID of parent node
get_parent_id(tree_info_df, node_id)
tree_info_df |
Data frame containing information about the structure of the decision tree, which is built like a "treeInfo()" data frame from the package "ranger" |
node_id |
Node ID of the node whose parent ID is to be determined |
Parent node ID (number)
Lea Louisa Kronziel, M.Sc.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.