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.
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.