selection_freqs {forestControl}R Documentation

Variable Selection Frequencies

Description

Extract variable selection frequencies from randomForest and ranger model objects

Usage

selection_freqs(x)

Arguments

x

a randomForest or ranger object

Value

tibble of variable selection frequencies

Examples

library(randomForest)
data(iris)
iris.rf <- randomForest(iris[,-5], iris[,5], forest = TRUE)

iris.freqs <- selection_freqs(iris.rf)
print(iris.freqs)

[Package forestControl version 0.2.2 Index]