Skip to contents

Remove a particular variable from an distribution object with a PredictorDataset. See Examples.

Usage

rm_predictors(x, names)

# S4 method for class 'BiodiversityDistribution,character'
rm_predictors(x, names)

Arguments

x

distribution() (i.e. BiodiversityDistribution) object.

names

vector A Vector of character names describing the environmental stack.

Examples

if (FALSE) { # \dontrun{
distribution(background) |>
 add_predictors(my_covariates) |>
 rm_predictors(names = "Urban")
} # }