Extract posterior predictive distribution
process_replications(
fit,
idx = NULL,
parName,
bounds = NULL,
type = c("continuous", "discrete", "eti", "hdi"),
...
)
Stanfit object.
Dataframe for translating the indices of the parameters into more informative variable (can be NULL).
Name of the parameter to extract.
NULL or vector of length 2 representing the bounds of the distribution if it needs to be truncated.
Indicates how the distribution is summarised.
Parameters to be passed to extract_distribution()
.
Dataframe.