Description Usage Arguments Details Value See Also
1 | rdirichlet_cpp(alpha, seed = 0L)
|
alpha |
the Dirichlet hyperparameter |
seed |
the RNG seed: if 0 (default), generate a time-based seed |
this function uses GSL's RNG seed, unaffected by R's RNG.
a numeric vector
Other RNG functions:
rdirdirgamma_beta_cpp()
,
rdirdirgamma_cpp()
,
rdirichlet_beta_cpp()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.