rollUp | R Documentation |
Summarizes and aggregates assessments at one spatial resolution to another spatial resolution. For example, a collection of assessments conducted at the site/use/parameter level can be rolled up to the AU/use/parameter level or to the AU/use/level.
rollUp(
data,
group_vars = c("ASSESS_ID", "BeneficialUse", "R3172ParameterName"),
cat_var = "IR_Cat",
expand_uses = TRUE,
print = TRUE
)
data |
A list of assessment output objects to be rolled up to a different spatial resolution. |
group_vars |
Vector of column names on which to group data for assessment rollups. Defaults to aggregate by ASSESS_ID, BeneficialUse, and R3172ParameterName. |
cat_var |
Name of assessment category column. |
expand_uses |
Logical. If TRUE (default), uses are expanded in the output to include all uses associated with group_vars, including unassessed groups which are marked as 'NA' in output dataframe column AssessCat. If FALSE, only assessed groups are included in the output. |
print |
Logical. If TRUE (default) print summary table of applicable assessment categories & parameters. |
Returns dataframe with assessment categories for each AU/BenUse/R3172ParameterName.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.