This function acts as a user-friendly interface for the variable importance scores in a random forest based on individual rpart trees.

importance_rforest(object)

Arguments

object

fitted model object from the class rforest.

Value

data frame with one row for each variable and four columns:

variable

the name of the variable.

importance

the average importance score over all the individual trees.

scale_sum

scaled scores which sum to one.

scale_max

scaled scores such that the maximum value is equal to one.