| demo_run | R Documentation |
Returns a bayesqm_run object carrying a plausible ELPD trajectory
across K = 1..K_max, with user-chosen peak K, Sivula K, and case
label. Use it to demonstrate run_bayes() output and
plot_elpd() without a Stan backend; it is not a substitute for
run_bayes() on real data.
demo_run(
K_max = 4L,
k_peak = 3L,
k_sivula = 2L,
case = c("gap", "agree", "reversed"),
seed = 1L
)
K_max |
Largest K in the comparison (default 4). |
k_peak |
K value where ELPD peaks (default 3). |
k_sivula |
K chosen by the Sivula parsimony rule (default 2). |
case |
Case label: |
seed |
Integer seed for reproducibility; |
A bayesqm_run.
run <- demo_run()
run
plot_elpd(run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.