runif: The uniform distribution on the simplex

Description Usage Arguments Value Note Author(s) References See Also Examples

Description

Generates random compositions with a uniform distribution on the (rcomp) simplex.

Usage

1
2
3

Arguments

n

number of datasets to be simulated

D

number of parts

Value

a generated random dataset of class "acomp" or "rcomp" drawn from a uniform distribution on the simplex of D parts.

Note

The only difference between both routines is the class of the dataset returned.

Author(s)

K.Gerald v.d. Boogaart http://www.stat.boogaart.de

References

Aitchison, J. (1986) The Statistical Analysis of Compositional Data Monographs on Statistics and Applied Probability. Chapman & Hall Ltd., London (UK). 416p.

See Also

rDirichlet.acomp

Examples

1
2

compositions documentation built on May 20, 2017, 1:08 a.m.

Search within the compositions package
Search all R packages, documentation and source code