double_etdi: Calculate two ETDI intervals

Description Usage Arguments Value

Description

This function helps create caterpillar plots.

Usage

1
double_etdi(x, prob_outer, prob_inner)

Arguments

x

a model fitted with RStanARM or a vector of MCMC samples

prob_outer, prob_inner

width of probability intervals

Value

a data-frame (a tibble::tibble()) of intervals. Contains columns with the term name, outer_density/inner_density, and the outer_lower/inner_lower and inner_upper/outer_upper values of the interval.


tjmahr/tristan documentation built on May 8, 2019, 9:46 a.m.