feedbackDirichlet {SHELF} | R Documentation |
Calculate quantiles for the marginal distributions of a Dirichlet distribution
Description
Given a (elicited) Dirichlet distribution, calculate quantiles for each marginal beta distribution corresponding to the elicited quantiles
Usage
feedbackDirichlet(d, quantiles = c(0.1, 0.9), sf = 2)
Arguments
d |
A vector of parameters of the Dirichlet distribution |
quantiles |
The desired quantiles for feedback |
sf |
The number of significant figures displayed |
Value
Quantiles for each marginal distribution
Author(s)
Jeremy Oakley <j.oakley@sheffield.ac.uk>
Examples
## Not run:
feedbackDirichlet(d = c(20, 10, 5),
quantiles = c(0.1, 0.33, 0.66, 0.9))
## End(Not run)
[Package SHELF version 1.10.0 Index]