Express a metric as a ratio to the separate analysis
Source:R/plot_methods_comparison_forestplot.R
scale_by_separate.RdDivides each row's metric by the value the separate (no
borrowing) method takes in the same scenario. The scenario key is the full
set of coordinates that identify a simulated configuration, so the ratio
never collapses across drift or sample size.
A zero or missing denominator makes the ratio undefined. Those rows are
dropped with a warning rather than reported as Inf or as some finite
stand-in.