Description Usage Arguments Details
Generate from a dirichlet distribution
1 | rdirichlet <- function(n, shape)
|
n |
number of permutations to generate |
shape |
shape parameter of length k |
This function returns a n x k matrix where each row is a generated value from the dirichlet distribution with the given shape parameter.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.