model_selection {enmpa} | R Documentation |
Selection of best candidate models considering various criteria
Description
Applies a series of criteria to select best candidate models.
Usage
model_selection(evaluation_stats, criterion = "TSS", exclude_bimodal = FALSE,
tolerance = 0.01)
Arguments
evaluation_stats |
data.frame with the statistics of model evaluation
results. These results are the output of the function
|
criterion |
(character) metric used as the predictive criterion for model selection. |
exclude_bimodal |
(logical) whether to exclude models in which binomial variable response curves were detected. |
tolerance |
(numeric) |
Value
A data.frame with one or more selected models.
Examples
# data
data("cal_res", package = "enmpa")
eval_stats <- cal_res$summary[, -1]
# selecting best model
selected_mod <- model_selection(eval_stats, exclude_bimodal = TRUE)
[Package enmpa version 0.1.8 Index]