View source: R/extract_var_from_formulas.R
| extract_var_from_formulas | R Documentation |
Extract predictor names from formulas
extract_var_from_formulas(formulas, ...)
formulas |
(character or formula) model formulas. |
... |
Arguments to pass to |
A character vector or a list of the same length as formulas,
containing the names of the predictors each formula.
# Import an example of calibration results
data(calib_results_maxnet, package = "kuenm2")
# Extract predictor names
vars <- extract_var_from_formulas(calib_results_maxnet$formula_grid$Formulas)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.