View source: R/summarize_models.R
summarize_models | R Documentation |
Summarizes the list of models by each polygon. This function
makes a call to the summarize_by_poly
function for each model in the
hsi_models
list. This function assembles those results into a single
output data frame.
summarize_models(hsi_models, polys, progress = FALSE)
hsi_models |
list; A named list of recoded HSI models created using
the |
polys |
sf; A polygons sf object. |
progress |
logical; TRUE displays a progress bar during processing. |
A data frame of model summaries containing the following fields for each model:
ID - Polygon unique identifier. Derived from polys' row.names.
hsi_<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.
hu_<model_name> - Habitat Units (HU) calculated by multiplying HSI by acres.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.