Skip to contents

Random generation for the Dirichlet distribution with parameter vector alpha.

Usage

rdirichlet(ndraws, alpha)

Arguments

ndraws

number of observations.

alpha

positive parameter vector.

Value

rdirichlet generates random deviates.