make_elpd_diff: Delta-ELPD plot with Sivula band, peak, and adopted-K...

View source: R/autoplot.R

make_elpd_diffR Documentation

Delta-ELPD plot with Sivula band, peak, and adopted-K annotations

Description

Draws \DeltaELPD against K with +/- 1.96 SE whiskers, shades the Sivula rejection band (|\Delta \mathrm{ELPD}| < 4), and marks the Sivula-selected K (red triangle), the ELPD peak (blue square), and an optional adopted K (orange diamond).

Usage

make_elpd_diff(run, title = NULL, adopted = NULL)

Arguments

run

A bayesqm_run object.

title

Optional panel title.

adopted

Integer K adopted by the analyst. Marked with the orange diamond. NULL suppresses this annotation.

Value

A ggplot object.


bayesqm documentation built on June 18, 2026, 1:07 a.m.