rdirichlet: Random generator for the Dirichlet distribution.

Description Usage Arguments Value

View source: R/distribs.R View source: R/dppcore/R/distribs.R

Description

Random generator for the Dirichlet distribution.

Usage

1
rdirichlet(n, alpha)

Arguments

n

number of vectors to generate

alpha

vector of parameters of the Dirichlet distribution

Value

a matrix in which each row vector is Dirichlet distributed


dppmix documentation built on Jan. 14, 2020, 5:10 p.m.