powered by
Sample uniformly and independently from d_k simplices
runif_dk_vects(d_k, nsamp)
A matrix with sum(d_k) columns and nsamp rows
vector of vector lengths
number of samples to take
runif_dk_vects(c(3, 4, 2), 10)
Run the code above in your browser using DataLab