process_replications: Extract posterior predictive distribution

Description Usage Arguments Value

View source: R/deprec-stan.R

Description

Extract posterior predictive distribution

Usage

1
2
3
4
5
6
7
8
process_replications(
  fit,
  idx = NULL,
  parName,
  bounds = NULL,
  type = c("continuous", "discrete", "eti", "hdi"),
  ...
)

Arguments

fit

Stanfit object.

idx

Dataframe for translating the indices of the parameters into more informative variable (can be NULL).

parName

Name of the parameter to extract.

bounds

NULL or vector of length 2 representing the bounds of the distribution if it needs to be truncated.

type

Indicates how the distribution is summarised.

...

Parameters to be passed to extract_distribution().

Value

Dataframe.


HuraultMisc documentation built on Sept. 6, 2021, 9:09 a.m.