Learn R Programming

BayesBinMix (version 1.4.1)

myDirichlet: Simulate from Dirichlet distribution

Description

This function simulates random vectors from a Dirichlet distribution.

Usage

myDirichlet(alpha)

Arguments

alpha

Vector of positive numbers denoting the parameters of the Dirichlet distribution.