hdi_of_icdf: Bind the weighted log odds to a tidy dataset

View source: R/hdi.R

hdi_of_icdfR Documentation

Bind the weighted log odds to a tidy dataset

Description

Calculate HDI range from any common distribution

Usage

hdi_of_icdf(name, width = 0.95, tol = 1e-08, ...)

Arguments

name

Distribution name

width

Width of HDI

tol

Tolerance to pass to optimize

...

parameters to pass for particular distribution

Details

Function was derived by Solomon Kurz's bookdown converting Kruschke's book into brms and tidyverse

Source

https://bookdown.org/content/3686/goals-power-and-sample-size.html#computing-power-and-sample-size/


scottfrechette/funcyfrech documentation built on Aug. 26, 2022, 9:13 a.m.