Species richness counts the number of potential species intersecting with a polygon grouped by the IUCN threat categorization. Note, that this indicator function requires the manual download of the respective raster files.
engine: The preferred processing functions from either one of "zonal", "extract" or "exactextract" as character.
stats: Function to be applied to compute statistics for polygons either one or multiple inputs as character. Supported statistics are: "mean", "median", "sd", "min", "max", "sum" "var".
Returns
A function that returns an indicator tibble with IUCN layers with specified statistics as variable and respective species richness (count) as value.
Details
The specific meaning of the species richness indicator depends on the supplied raster file.