Description Usage Arguments Author(s)
Draw from beta-binomial distribution parameterized by mean and overdispersion parameter.
1 | rbetabinom_mu_rho(mu, rho, size)
|
mu |
The mean of the underlying beta distribution. This is equal to a / (a + b) where a and b are the two shape parameters of the usual parameterization of the beta. This can be a vector of values. |
rho |
The over-dispersion parameter of the underlying beta distribution. This is equal to 1 / (a + b + 1) where a and b are the two shape parameters of the usual parameterization of the beta. This can be a vector of values. |
size |
The sample size. This can equal a vector of observations. |
David Gerard
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.