Returns a validated posterior-summary entry already stored in an sbt_fit.
It never evaluates model reports or creates a missing entry.
Usage
get_posterior_summary(
fit,
name = "plots",
reports = NULL,
probs = c(0.025, 0.975),
transform = "plots"
)
Arguments
- fit
An sbt_fit containing MCMC draws and embedded summaries.
- name
Name of the required summary entry.
- reports
Optional exact report-name requirement.
- probs
Required lower and upper posterior probabilities.
- transform
Required transform contract without its version suffix.
Value
A validated posterior-summary entry.