Nothing
rgendiri <- function(n, a, b) {
## n is the sample size
## a is the parameters vector
D <- length(a)
y <- matrix( rgamma(n * D, a, b), ncol = D, byrow = TRUE )
y / Rfast::rowsums(y) ## Dirichlet simulated values
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.