Select predictor variables for a GEDI model
varSel(
x,
y,
method = c("correlation", "randomForest", "rfe"),
threshold = 0.1,
seed = NULL,
...
)An object of class gedi_var_selection.
Predictor data frame.
Response vector.
Selection method. "rfe" recursively removes the least
important predictor and selects the smallest model whose out-of-bag error
is within one standard error of the minimum.
Minimum absolute correlation or scaled Random Forest
importance. For method = "rfe", it is applied after model selection;
use 0 to retain the RFE-selected subset.
Optional random seed.
Passed to randomForest when requested.