This function allows - out of a character
vector with the
names of an already added PredictorDataset
object - to select a
particular set of predictors. See Examples.
Arguments
- x
distribution()
(i.e.BiodiversityDistribution
) object.- names
vector
A Vector of character names describing the environmental stack.
Examples
if (FALSE) {
distribution(background) |>
add_predictors(my_covariates) |>
sel_predictors(names = c("Forest", "Elevation"))
}