rnbinom_mean_disp | R Documentation |
Negative binomial random numbers parametrized in terms of mean and dispersion coefficient
rnbinom_mean_disp(n, mn, disp)
n |
number of samples to draw |
mn |
mean of distribution; Must be > 0. |
disp |
dispersion coefficient (var/mean); Must be > 1. |
vector containing the random numbers
Flavio Finger
rnbinom_mean_disp(n = 5, mn = 4, disp = 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.