get_mcmc_summary: Summarize mcmc output of stan.

View source: R/get_mcmc_summary.R

get_mcmc_summaryR Documentation

Summarize mcmc output of stan.

Description

Transform output of stan model in data.frame which is easier to use.

Usage

get_mcmc_summary(x, alpha = 0.2, dig = 4, median = FALSE)

Arguments

x

Output of stan function

alpha

Risk taken for HPDinterval function.

dig

Digits to round output of the funtion.

median

Logical. If TRUE, indexes will be around median (mad). If FALSE, indexes will be around mean (sd).


MathieuGenu/geffaeR documentation built on March 23, 2022, 7:50 p.m.