f_model_importance_randomForest: extract variable importance for randomForest model

Usage Arguments Value Examples

View source: R/f_model_imp.R

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 Aug. 4, 2018, 11:03 p.m.