myrdirich | R Documentation |
generate random vectors from Dirichlet distribution
myrdirich(n, v)
n |
sample size |
v |
a vector of positive values |
matrix of n rows and length(v)
columns; each row sums to 1
myrdirich(10,c(1,1,1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.