baRNB | R Documentation |
Simulate NB using mu and phi instead of n and phi
baRNB(mu, phi, n = NULL, is.log = TRUE)
mu |
mean |
phi |
target for number of successful trials |
n |
(Optional) number of observations |
is.log |
logical; if TRUE, mu, phi are are given as log(mu) and log(phi) |
Negative Binomial Distribution with n as length of mu
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.