Description Usage Arguments Value Examples
Extract confidence intervals from a vector of samples
1 | extract_ci(x, CI_level = seq(0.1, 0.9, 0.1), type = c("eti", "hdi"))
|
x |
Vector of samples from a distribution. |
CI_level |
Vector containing the level of the confidence/credible intervals. |
type |
"eti" for equal-tailed intervals and "hdi" for highest density intervals. |
Dataframe with columns: Lower
, Upper
, Level.
1 2 3 | x <- rexp(1e4)
extract_ci(x, type = "eti")
extract_ci(x, type = "hdi")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.