Generates random compositions with a uniform distribution on the (rcomp) simplex.
1 2 3
number of datasets to be simulated
number of parts
a generated random dataset of class
drawn from a uniform distribution on the simplex of D parts.
The only difference between both routines is the class of the dataset returned.
K.Gerald v.d. Boogaart http://www.stat.boogaart.de
Aitchison, J. (1986) The Statistical Analysis of Compositional
Data Monographs on Statistics and Applied Probability. Chapman &
Hall Ltd., London (UK). 416p.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.