check.species: Checking compliance for an object of class enmtools.species.

View source: R/check.species.R

check.speciesR Documentation

Checking compliance for an object of class enmtools.species.

Description

Checking compliance for an object of class enmtools.species.

Usage

check.species(this.species, env = NA, trim.dupes = FALSE)

Arguments

this.species

An enmtools.species object to be checked.

env

Environmental rasters that will be used for modeling. If provided to check.species, ENMTools will remove occurrence points that have NA values for any layer in env.

trim.dupes

Controls whether to trim duplicate occurrence points from the presence data. Defaults to FALSE, which leaves duplicates in place. Alternatives are "exact", which will remove points with the same lat/long as another point, or "grid", which will trim data so that there is at most one point per grid cell for the rasters in env, and centers those points in the cells.

Value

An enmtools.species object with appropriate formatting.

Examples

check.species(iberolacerta.clade$species$monticola)

ENMTools documentation built on April 11, 2023, 6:09 p.m.