rdirichlet: Dirichlet distribution: random generator

Description Usage Arguments Value

Description

Dirichlet distribution: random generator

Usage

1
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


lbelzile/BMAmevt documentation built on June 13, 2019, 12:43 p.m.