betaCI | R Documentation |
Obtain CIs from the sampled values
betaCI(betaDist, percentile = c(0.05, 0.95))
betaDist |
A vector with the values sampled from the distribution |
percentile |
A vector with the two percentiles that will be returned. Defaults to 0.05 and 0.95, to give 90% confidence intervals. |
A named vector with the desired percentiles.
betasample <- rbeta(n=10000, 2, 2) psiplot:::betaCI(betasample)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.