selection_freqs: Variable Selection Frequencies

Description Usage Arguments Value Examples

View source: R/selection_freqs.R

Description

Extract variable selection frequencies from randomForest and ranger model objects

Usage

1

Arguments

x

a randomForest or ranger object

Value

tibble of variable selection frequencies

Examples

1
2
3
4
5
6
library(randomForest)
data(iris)
iris.rf <- randomForest(iris[,-5], iris[,5], forest = TRUE)

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

forestControl documentation built on Nov. 18, 2019, 5:07 p.m.