compute_risk: Compute Risk Level
Description
Apply risk thresholds to compute risk level for a single metric.
Usage
compute_risk(value, risk)
Value
The computed risk level (e.g. "low", "medium", "high").
Arguments
- value
The numeric or categorical value to evaluate.
- risk
A list describing the thresholds for the metric.