f_model_importance_randomForest: extract variable importance for randomForest model

Description Usage Arguments Value Examples

View source: R/f_model_imp.R

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 Nov. 13, 2018, 9:09 a.m.