e_plot_rf_vimp: A function to plot the "all" column from a Random Forests...

View source: R/e_plot_rf_vimp.R

e_plot_rf_vimpR Documentation

A function to plot the "all" column from a Random Forests Variable Importance Plot (VIMP).

Description

A function to plot the "all" column from a Random Forests Variable Importance Plot (VIMP).

Usage

e_plot_rf_vimp(v_imp, targets = NULL)

Arguments

v_imp

$importance table from randomForestSRC::rfsrc()

targets

a list of column names of v_imp, such as c("all", "Yes"). If NULL, does "all" and every target.

Value

p

Examples

# o_class <- randomForestSRC::rfsrc(...)
# e_plot_rf_vimp(o_class$importance)

erikerhardt/erikmisc documentation built on April 17, 2025, 10:48 a.m.