feedbackDirichlet: Calculate quantiles for the marginal distributions of a...

View source: R/fitDirichlet.R

feedbackDirichletR 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)

OakleyJ/SHELF documentation built on March 17, 2024, 8:13 p.m.