Description Usage Arguments Value
This function generates random deviates from the shifted negative binomial distribution. The shift is fixed to 1.
1 | rshiftnegbin(n, size, prob)
|
n |
the number of random deviates to generate |
size |
target for number of successful trials, or dispersion parameter (the shape parameter of the gamma mixing distribution). Must be strictly positive, need not be integer. |
prob |
probability of success in each trial. 0 < prob <= 1. |
A vector of shifted negative binomial random deviates
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.