check.bg | R Documentation |
Takes an emtools.species object and adds background points if they're missing. Looks for range raster first, then goes for environmental layers.
check.bg(
species,
env = NA,
nback = 1000,
bg.source = "default",
verbose = FALSE,
bias = NA
)
species |
An enmtools.species object |
env |
A SpatRaster containing environmental data. |
nback |
Number of background points to generate, if any |
bg.source |
Source for drawing background points. If "points", it just uses the background points that are already in the species object. If "range", it uses the range raster. If "env", it draws points at randome from the entire study area outlined by the first environmental layer. |
verbose |
Controls printing of various messages progress reports. Defaults to FALSE. |
bias |
A SpatRaster representing estimated relative sampling bias. Used when bg.source is either "range" or "env". |
An enmtools.species object with background points.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.