rdirichlet {BMAmevt}R Documentation

Dirichlet distribution: random generator

Description

Dirichlet distribution: random generator

Usage

rdirichlet(n = 1, alpha)

Arguments

n

Number of draws

alpha

Dirichlet parameter: a vector of positive number

Value

A matrix with n rows and length(alpha) columns


[Package BMAmevt version 1.0.5 Index]