extract_enm2.Rd
The function extract_enm2
extract_enm2(enm, geoshape, id0, id, th = NA, multipar = FALSE, ncores = 1)
input raster data (usually a species distribution model, SDM)
input shapefile with boundaries of geometries to summarize the raster data for
part of 'geoshape@data'
that holds the names of the geopolitical units to focus on (polygons of interest)
subset in geoshape
identifier table to iterate through: a vector of names, may need to match this to a particular part of geoshape with id0
threshold of suitability used to calculate RSA. If not provided, the RSA is not calculated.
use multicore processors to perform the function in parallel (default is false)
tell the function to use a set number of cores if multipar = TRUE
and defaults to ncores=1
Dataframe (tibble) that contains columns that include summary statistics from the input.