plot_rfe: Plot Recursive Feature Elimination Results

View source: R/RFE_SCE.R

plot_rfeR Documentation

Plot Recursive Feature Elimination Results

Description

Plot Recursive Feature Elimination results.

Usage

plot_rfe(rfe_result,
         main = "OOB Validation and Testing R2 vs Number of Predictors",
         col_validation = "blue",
         col_testing = "red",
         pch = 16,
         lwd = 2,
         cex = 1.2,
         legend_pos = "bottomleft",
         ...)

Arguments

rfe_result

Result object from rfe_sce function

main

Plot title

col_validation

Color for validation line

col_testing

Color for testing line

pch

Point character

lwd

Line width

cex

Point size

legend_pos

Legend position

...

Additional arguments

Value

Plot showing validation and testing R2 vs number of predictors.

See Also

rfe_sce


SCE documentation built on May 11, 2026, 9:07 a.m.