Rdocumentation
powered by
Learn R Programming
climbeR (version 0.0.1)
countSplitsPerVar: Count Splits Per Variable
Description
This function counts the number of times each variable was used to split a tree.
Usage
countSplitsPerVar(ranger_obj_forest)
Arguments
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.
Value
A dataframe with one column of counts, and one column of normalized counts. Rows are labeled by variable names.