Skip to contents

Auto-set cond_gate threshold from observed diagnostics

Usage

.sbhm_auto_gate_threshold(
  diag_values,
  metric = c("kappa", "rho"),
  q = 0.99,
  hard_min = NULL
)