Skip to contents

Remove a particular dataset (or all) from an distribution object with a BiodiversityDatasetCollection.

Usage

rm_biodiversity(x, name, id)

# S4 method for class 'BiodiversityDistribution'
rm_biodiversity(x, name, id)

Arguments

x

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

name

A character with the name of the biodiversity dataset.

id

A character with the id of the biodiversity dataset.

Examples

if (FALSE) { # \dontrun{
distribution(background) |>
 add_biodiversity_poipa(species, "Duckus communus")
 rm_biodiversity(names = "Duckus communus")
} # }