Description Usage Arguments Value
View source: R/tree_traversal_util.R
This function counts the number of times each variable was used to split a tree.
1 | countSplitsPerVar(ranger_obj_forest)
|
ranger_obj_forest |
A ranger object from the ranger package, which was created with param write.forest set to TRUE. In other words, it must have a 'forest' property. |
A dataframe with one column of counts, and one column of normalized counts. Rows are labeled by variable names.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.