View source: R/patch_fam_agg.R
patch_fam_agg | R Documentation |
Aggregate (aspatial) patches back to spatial patches via weighted mean. Add in exceptions if you want to aggregate via different methods.
patch_fam_agg(X, areas = NULL, na.rm = FALSE)
X |
Data Frame or Data Table to aggregate |
areas |
Data frame (or table) of patch IDs and associated areas. Needed for stratum outputs which don't include area. |
na.rm |
Should NAs ne removed when calculating weighed average (passed through to weighted.mean) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.