Summarize the raster HSI model by polygon.
Arguments
- hsi_model
raster; A raster HSI model.
- polys
sf; A polygon used to derive be summaries from the raster.
- progress
logical; TRUE displays a progress bar during processing.
Value
A data frame containing polygons summarized by the following fields:
ID - Polygon unique identifier. Derived from polys' row.names.
hu_<model_name> - HSI score mean for the polygon. Model name is derived from the raster data names attribute via names().
count_<model_name> - Count of cells for the polygon.
acres_<model_name> - Area in acres for the polygon.