Convert presence points and a background area
into an sdm_data object suitable for a
tidysdm workflow.
sdm_data.RdConvert presence points and a background area
into an sdm_data object suitable for a
tidysdm workflow.
Usage
sdm_data(pres, bg, n = 500, abs = NULL, sample_options = list(), ...)Arguments
- pres
Points representing species occurrences. Should be an
sfobject withcrsinformation- bg
A background area as an
sfpolygon or a raster mask (instarsorrasterformat)- n
Integer specifying the number of background or pseudo-absence points to sample from the background as specified by
bg.- abs
Optionally an
sfobject with true absence data in the form of points.- ...