Description Usage Arguments Value Author(s) See Also Examples
Random deviates of the Generalized Dirichlet distribution.
1 | rGenDirichlet(n, p, k)
|
p |
The Dirichlet normalized parameters. The Dirichlet parameters may contain zeros if the branch to which a parameter is referring is not allowed. |
k |
k * p = alpha (the Dirichlet parameters. |
n |
number of observations. If length(n) > 1, the length is taken to be the number required. |
rGenDirichlet generates random deviates.
Rob Carnell
1 | rGenDirichlet(10, c(4,3,2)/9, c(2, 2, 2))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.