Number of values to generate (fractions are truncated, as in R).
Target number of successes (dispersion parameter; need not be an integer).
Optionalmu?: numberMean (alternative parametrization). Give exactly one of prob and mu.
Optionalprob?: numberProbability of success in each trial. Give exactly one of prob and mu.
An array of n values; NaN for invalid parameters.
Random numbers from the negative binomial distribution. Equivalent to R's
rnbinom().