get_cis: get_cis returns confidence intervals of a vector

Description Usage Arguments Value

View source: R/utils.R

Description

Given a vector of probabilities (x), returns a numeric vector with values at 2.5%, median and 97.5% of the distribution (x)

Usage

1
get_cis(x, lwr = 0.025, med = 0.5, upr = 0.975)

Arguments

x

is a numeric vector of probabilities

Value

a numeric vector with values at 2.5%, median and 97.5% of the distribution (x)


crumplecup/muddier documentation built on Aug. 18, 2021, 11:02 a.m.