Description Usage Arguments Value Examples
Find quantiles given a probability density function
1 | dist_quantile(dist, probs, bounds = attr(dist, "limits"))
|
dist |
A one argument function |
probs |
A vector of probabilities |
bounds |
A length 2 vector of the bounds of the distribution's support |
A vector of quantiles
1 2 | d1 <- update_prior(33, 50, P = 0.5, prior = stats::dunif)
dist_quantile(d1, c(0.025, 0.975))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.