This function processes spatial data (as an sf object), summarizes it based
on the number of observations or distinct species, and generates a raster
layer.
Arguments
- Data
An
sfobject containing spatial data, with a column namedCellCode.- NSp
Logical. Whether to generate distinct species counts (
TRUE) or total observation counts (FALSE).- Name
Character. Name of the count field and the prefix for the final raster layer's name.
- ClassOrder
Character. The class and order combination (separated by an underscore) represented in the
Data.- Grid_SF, Grid_R
Reference grid in the form of simple feature and raster.
Note
This function is not intended to be used directly by the user or in the IAS-pDT, but only used inside the Efforts_Process and Efforts_Summarize functions.