credible_interval: Compute upper and lower values of the 95% credible interval

Description Usage Arguments Value

View source: R/utils.R

Description

Compute upper and lower values of the 95% credible interval

Usage

1
credible_interval(x, type = c("0.95", "0.99"))

Arguments

x

posterior values for a parameter

type

either one of '0.95' for 95% CI or '0.99' for 99% CI

Value

numeric vector. Element 1 is the lower 95% CI, element 2 is the upper 95% CI.


JasperHG90/sleepsimR documentation built on May 18, 2020, 8:49 a.m.