dmdirichlet | R Documentation |
Functions related to mixture Dirichlet distribution
dmdirichlet(x, mAlpha, mixtureCoef) ddirichlet (x, alpha) rdirichlet (n, alpha) rmdirichlet (mAlpha, mixtureCoef) modifyDirichlet (prior, y) logIntegrateMixDirichlet(y, prior, tau=1) logIntegrateDirichlet (y, alpha)
x |
A vector containing a single deviate or matrix containing one random deviate per row. |
mAlpha |
matrix. Each row is a parameter of Dirichlet |
alpha |
numeric vector. Parameter for a Dirichlet distribution |
mixtureCoef |
numeric vector |
n |
integer |
prior |
list of two components: alpha and mix.coef |
y |
numeric vector of counts |
tau |
numeric |
ddirichlet andn rdirichlet are identically copied from MCMCpack
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.