mynbin | R Documentation |
Negative Binomial Probability
mynbin(y, r, p)
y |
y variable as an integer for the number of failures |
r |
r variable as an integer for the number of successes |
p |
p as the probability of a success |
Returns the negative binomial probability that there are y number of failures before the rth success.
mynbin(10,3,0.4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.