Description Usage Arguments Details Value See Also
1 | rdirichlet_beta_cpp(n, alpha)
|
n |
how many samples to generate |
alpha |
the Dirichlet hyperparameter, with p entries |
this function uses R's RNG seed.
a numeric matrix, n*p
Other RNG functions:
rdirdirgamma_beta_cpp()
,
rdirdirgamma_cpp()
,
rdirichlet_cpp()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.