hdi_of_icdf | R Documentation |
Calculate HDI range from any common distribution
hdi_of_icdf(name, width = 0.95, tol = 1e-08, ...)
name |
Distribution name |
width |
Width of HDI |
tol |
Tolerance to pass to |
... |
parameters to pass for particular distribution |
Function was derived by Solomon Kurz's bookdown converting Kruschke's book into brms and tidyverse
https://bookdown.org/content/3686/goals-power-and-sample-size.html#computing-power-and-sample-size/
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.