Plot Canonical Dual Comparison Dashboard
plot_dual_dashboard.RdCreates 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()orDPprior_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.
See also
DPprior_fit for fitting, plot.DPprior_fit for S3 plot method
Other visualization:
DPprior_colors(),
plot_K_prior(),
plot_alpha_prior(),
plot_dual_comparison(),
plot_prior_dashboard(),
plot_tradeoff_curve(),
plot_tradeoff_dashboard(),
plot_w1_prior(),
theme_DPprior()