Description Usage Arguments Value Examples
This function is generate random sample from Dirichlet distribution
1 | rdirichlet(n = 1, alpha = c(1, 1))
|
n |
- sample size |
alpha |
- parameters in Dirichlet distribution |
out - generated data
1 2 | # dimension parameters
rdirichlet(n=10,alpha=c(1,1,1))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.