Rdocumentation
powered by
Learn R Programming
Boom (version 0.4)
dirichlet.prior: Dirichlet prior for a multinomial distribution
Description
Specifies Dirichlet prior for a discrete probability distribution.
Usage
DirichletPrior(prior.counts, initial.value = NULL)
Arguments
prior.counts
A vector of positive numbers representing prior counts.
initial.value
The initial value in the MCMC algorithm of the distribution being modeled.
References
Gelman, Carlin, Stern, Rubin (2003), "Bayesian Data Analysis", Chapman and Hall.