dgendir | R Documentation |
Generalized Dirichlet (Connor-Mosimann) distribution
dgendir(x, a, b, log = FALSE)
rgendir(n, a, b)
x |
simplex vector x of length n |
a |
parameter vector a of length n-1 |
b |
parameter vector b of length n-1 |
log |
logical indicating whether log density should be returned instead. Default FALSE |
n |
number of observations to draw |
x <- c(0.15, 0.40, 0.05, 0.40)
a <- c(4.6, 6.7, 1.32)
b <- c(39.4, 7.77, 5.10)
dgendir(x,a,b)
rgendir(1,a,b)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.