View source: R/distributions.R
Defines a probability space for a negative binomial distribution (which represents the number of trials until r successes), including the r successes.
1 | NegativeBinomial(r, p)
|
r |
(int): desired number of successes |
p |
(double): probability (number between 0 and 1) that each trial results in a "success" (i.e., 1) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.