- data
data.frame or matrix of data to be used in model calibration.
Columns represent dependent and independent variables.
- dependent
(character) name of dependent variable.
- independent
(character) vector of name(s) of independent variable(s).
- weights
(numeric) a vector with the weights for observations.
- response_type
(character) a character string that must contain "l",
"p", "q" or a combination of them. l = lineal, q = quadratic,
p = interaction between two variables. Default = "l".
- formula_mode
(character) a character string to indicate the strategy to
create the formulas for candidate models. Options are: "light", "moderate",
"intensive", or "complex". Default = "moderate". "complex" returns only the
most complex formula defined in response_type
.
- minvar
(numeric) minimum number of independent variables in formulas.
- maxvar
(numeric) maximum number of independent variables in formulas.
- user_formulas
(character) vector with formula(s) to test.
Default = NULL.
- cv_kfolds
(numeric) number of folds to use for k-fold
cross-validation exercises. Default = 5. Ignored if partition_index
is defined.
- partition_index
list of indices for cross-validation in k-fold. The
default, NULL, uses the function kfold_partition
.
- seed
(numeric) a seed for k-fold partitioning.
- n_threshold
(logical) number of threshold values to produce
evaluation metrics. Default = 100.
- selection_criterion
(character) criterion used to select best models,
options are "TSS" and "ESS". Default = "TSS".
- exclude_bimodal
(logical) whether to filter out models with one or
more variables presenting concave responses. Default = FALSE.
- tolerance
(numeric) value to modify the limit value of the metric
used to filter models during model selection if none of the models meet
initial considerations. Default = 0.01
- out_dir
(character) output directory name to save the main calibration
results. Default = NULL.
- parallel
(logical) whether to run on parallel or sequential.
Default = FALSE.
- n_cores
(numeric) number of cores to use. Default = number of free
processors - 1.
- verbose
(logical) whether to print messages and show progress bar.
Default = TRUE