extract_enm.Rd
The function extract_enm
extract_enm(enm, geoshape, id0, id, th, save.plots = FALSE)
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.
save the density plots of points for each id
iterated across (default is FALSE)? If so, the results are stored as a second element in the list [[2]]
or $plots
Dataframe (tibble) that contains columns that include