dirichlet_functions: Functions related to mixture Dirichlet distribution

dmdirichletR Documentation

Functions related to mixture Dirichlet distribution

Description

Functions related to mixture Dirichlet distribution

Usage

dmdirichlet(x, mAlpha, mixtureCoef)
ddirichlet (x, alpha)
rdirichlet (n, alpha) 
rmdirichlet (mAlpha, mixtureCoef) 
modifyDirichlet (prior, y) 
logIntegrateMixDirichlet(y, prior, tau=1) 
logIntegrateDirichlet (y, alpha) 


Arguments

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

Details

ddirichlet andn rdirichlet are identically copied from MCMCpack


krm documentation built on Oct. 18, 2022, 9:09 a.m.

Related to dirichlet_functions in krm...