Learn R Programming

fabMix (version 5.1)

myDirichlet: Simulate from the Dirichlet distribution

Description

Generate a random draw from the Dirichlet distribution \(D(\alpha_1,\ldots,\alpha_k)\).

Usage

myDirichlet(alpha)

Value

Simulated vector

Arguments

alpha

Parameter vector

Author

Panagiotis Papastamoulis