The uniform distribution on the simplex
Generates random compositions with a uniform distribution on the (rcomp) simplex.
runif.acomp(n,D) runif.rcomp(n,D)
n |
number of datasets to be simulated |
D |
number of parts |
a generated random dataset of class "acomp"
or "rcomp"
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.
plot(runif.acomp(10,3)) plot(runif.rcomp(10,3))
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.