var_imp: Variable Importance Plot

View source: R/var_imp.R

var_impR Documentation

Variable Importance Plot

Description

A graphical display of variable importance of selected features.

Usage

var_imp(x, cex.x = 1, cex.y = 2)

Arguments

x

A list of elements returned from RFE analysis. See rfe for more details

cex.x

The size of x axis label.

cex.y

The size of y axis label.

Details

var_imp

Value

Variable Importance Plot.

Author(s)

Matineh Rahmatbakhsh, matinerb.94@gmail.com.

Examples

data('example_data')
x <- na.omit(example_data)
#perform feature selection
s <- FSmethod(x, type = 'both',
cor.cutoff = 0.7, resampling.method = "repeatedcv",
iter = 5, repeats = 3, metric = "ROC", verbose = TRUE)
var_imp(s$rf.result$rfProfile, cex.x = 10, cex.y = 10)

mrbakhsh/HPiP documentation built on March 28, 2023, 4:35 p.m.