Visualize DIC-based model comparison between multiple models (e.g., SPFA vs relaxed).
Usage
plot_model_comparison(..., type = c("bar", "dotplot"), labels = NULL)Examples
if (FALSE) { # \dontrun{
# Compare SPFA and relaxed models
plot_model_comparison(fit_spfa, fit_relaxed)
# Custom labels
plot_model_comparison(fit_spfa, fit_relaxed,
labels = c("Shared Effects", "Treatment-Specific"))
# Dot plot showing pD
plot_model_comparison(fit_spfa, fit_relaxed, type = "dotplot")
} # }