get_rf_variables: Extract variable names from randomForest classifier.

Description Usage Arguments Value

View source: R/process_data.R

Description

This function will return the names of the variables used to train a random forest classifier. Internally, it extracts a matrix of variable importance scores and returns its rownames.

Usage

1

Arguments

rf

Object of class randomForest

Value

Vector of variable names.


cgeisenberger/crystalmeth documentation built on Aug. 28, 2020, 9:35 a.m.