Flag a data frame of metric values against the ANA reference
flag_data.RdApplies the five-stage flagging pipeline:
Per-metric flag / status / within-10-percent columns
Subfactor-level status (threshold-group rollup)
Factor-level status
System-level status
Preliminary flag (
prelim_flag) via ANA decision tree
Arguments
- df
A
data.frameor tibble with one row per unit of analysis (UOA) and one column per metric (e.g.MET001). Auoacolumn is expected but not strictly required by this function — extra columns are passed through.- ref
The reference list returned by
get_default_reference().