f_model_importance_randomForest: extract variable importance for randomForest model

Description Usage Arguments Value Examples

Description

extract variable importance for randomForest model

Usage

1

Arguments

m

model of class randomForest

Value

dataframe

Examples

1
2
3
4
5
6
7
8
#regression
m = randomForest::randomForest(mtcars, disp~.)
f_model_importance_randomForest(m)

#classification
data_ls = f_clean_data(mtcars)
m = randomForest::randomForest(data_ls$data, cyl~.)
f_model_importance_randomForest(m)

erblast/oetteR documentation built on May 27, 2019, 12:11 p.m.