Description Usage Arguments Details Value Side Effects Examples
Function to generate random outcomes from a Negative Binomial distribution,
with mean mu
and variance mu + mu^2/theta
.
1 
n 
If a scalar, the number of sample values required. If a vector,

mu 
The vector of means. Short vectors are recycled. 
theta 
Vector of values of the 
The function uses the representation of the Negative Binomial distribution
as a continuous mixture of Poisson distributions with Gamma distributed means.
Unlike rnbinom
the index can be arbitrary.
Vector of random Negative Binomial variate values.
Changes .Random.seed
in the usual way.
1 2 3 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.