Skip to contents

This is just a wrapper function for removing specified offsets from a BiodiversityDistribution) object.

Usage

rm_offset(x, layer = NULL)

# S4 method for class 'BiodiversityDistribution'
rm_offset(x, layer = NULL)

Arguments

x

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

layer

A character pointing to the specific layer to be removed. If set to NULL, then all offsets are removed from the object.

Value

Removes an offset from a distribution object.

Examples

if (FALSE) { # \dontrun{
 rm_offset(model) -> model
} # }