evaluate_impact_rules: Evaluate ecological impact rules to apply to metric values

Description Usage Arguments Value

View source: R/evaluate_impact_rules.R

Description

Given information about whether impact is determined by a multiplicative factor (i.e., percent difference), additive difference (i.e., "difference") and whether significance occurs at values higher or lower than the base value, synthesizes this into a list for use in calculations of thresholds.

Usage

1
evaluate_impact_rules(this_rule, metric_uncertainty)

Arguments

this_rule

data frame with information on "percent", "difference", "significant_if" (i.e., "higher" or "lower") for a single indicator.

metric_uncertainty

data frame with lake, metric, variable, and allowable "difference" due to uncertainty in the metric. Currently evaluated as the standard deviation in the "no irrigation" scenarios of the metric.

Value

impact, a list with values for "factor", "difference" and "significant_if"


WDNR-Water-Use/CSLSscenarios documentation built on Nov. 10, 2021, 4:14 p.m.