Explore the spatial distribution of occurrence and background points
explore_calibration_geo.Rd
Explore the spatial distribution of occurrence and background points
Arguments
- data
an object of class
prepared_data
returned by theprepare_data()
function.- raster_variables
(SpatRaster) predictor variables used for model calibration.
- plot
(logical) wheter to plot the SpatRaster. Default is TRUE.
- ...
additional arguments passed to
terra::plot()
.
Value
A categorical SpatRaster
with four factor values representing:
- 1 - Background cells
- 2 - Presence cells
- 3 - Cells with both presence and background
- 4 - Non-used cells
Examples
# Import raster layers
var <- terra::rast(system.file("extdata", "Current_variables.tif",
package = "kuenm2"))
# Import occurrences
data(sp_swd, package = "kuenm2")
# Explore calibration data
pbg <- explore_calibration_geo(data = sp_swd, raster_variables = var[[1]])