posterior_summary.emc {EMC2}R Documentation

Posterior quantiles

Description

Returns the quantiles of the selected parameter type. Full range of possible samples manipulations described in get_pars.

Usage

## S3 method for class 'emc'
posterior_summary(
  emc,
  selection = "mu",
  probs = c(0.025, 0.5, 0.975),
  digits = 3,
  ...
)

posterior_summary(emc, ...)

Arguments

emc

An emc object

selection

A Character vector. Indicates which parameter types to check (e.g., alpha, mu, sigma2, correlation).

probs

A vector. Indicates which quantiles to return from the posterior.

digits

Integer. How many digits to round the output to

...

Optional additional arguments that can be passed to get_pars

Value

A list of posterior quantiles for each parameter group in the selected parameter type.

Examples

posterior_summary(samples_LNR)

[Package EMC2 version 2.1.0 Index]