Learn R Programming

familial (version 1.0.7)

rudirichlet: Uniform Dirichlet distribution

Description

Random number generation for the uniform Dirichlet distribution (having all concentration parameters set to one).

Usage

rudirichlet(n, d)

Value

A matrix; each row is a random draw and each column is a dimension.

Arguments

n

the number of observations

d

the number of dimensions

Author

Ryan Thompson <ryan.thompson-1@uts.edu.au>