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
sf
object containing spatial data, with a column namedCellCode
.- NSp
A logical value indicating whether to generate distinct species counts (
TRUE
) or total observation counts (FALSE
).- Name
A character string that represents the name of the count field and the prefix for the final raster layer's name.
- ClassOrder
A character string specifying 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.