Sampling-diagnostic (Rhat) heatmap for Omega
Source:R/plot_omega_diagnostics.R
plot_omega_convergence_heatmap.RdCompanion to plot_omega_correlation_heatmap() – shows Rhat for
each Omega[i,j] entry, so a reader cannot look at an attractive
correlation heatmap without also seeing whether those specific
parameters actually converged. A uniformly high correlation heatmap
alongside a uniformly poor Rhat heatmap here is the signature of a
near-degenerate, weakly-identified correlation matrix, not a settled
finding.
Arguments
- corr_summary
Tibble from
summarize_fit_correlation_matrix()(withclass_1, class_2, correlation_median, rhatcolumns), orNULL.- class_cols
Character vector of all class names, in the fit's canonical order (for consistent row/column ordering).
- title_base
Character. Prefixed to the plot title.
Value
A ggplot object, or NULL if corr_summary is
NULL/empty or has no rhat column (e.g. computed by an
older summarize_fit_correlation_matrix() call).