Skip to contents

Creates the canonical four-panel comparison view: alpha, \(K_J\), and \(W_{SB}\) distributions plus a mode-specific evidence table. Hard fits show constraint evidence; soft fits show the recorded fixed-scale trade-off. Retained legacy fits raise a typed comparison-lineage unavailable condition.

Usage

plot_dual_dashboard(
  fit_dual,
  tradeoff_data = NULL,
  engine = c("ggplot2", "base"),
  base_size = 10,
  title = NULL,
  show = TRUE
)

Arguments

fit_dual

A canonical hard or soft dual fit from DPprior_dual_hard() or DPprior_dual_soft().

tradeoff_data

Optional canonical dpprior_tradeoff_curve. When supplied, its retained evidence is validated before the fit comparison is drawn; it is not substituted for the fit's authoritative trade-off record.

engine

"ggplot2" (default) or "base".

base_size

Base font size.

title

Optional title.

show

If TRUE, draw the plot.

Value

A gtable grob, a list of plots when gtable assembly is unavailable, or invisible(NULL) for the base engine.

References

Lee, J. (2026). Design-Conditional Prior Elicitation for Dirichlet Process Mixtures. arXiv preprint arXiv:2602.06301.