Description Usage Arguments Examples
X represent the number of failures in a sequence of Bernoulli trials before a 'r' success occurs.
1 | plotBINNEG(p, r, n.plot = 50, hlt = FALSE, i = 2, f = 4)
|
p |
|
r |
target for number of successful trials. Must be strictly positive, need not be integer. |
n.plot |
number of observations for the plot, by default will be ploted 50 observations |
hlt |
logical (default is FALSE); if TRUE, probabilities P[i ≤ X ≤ f] are highlighted in green color in the plot |
i, f |
highlight probability from i' initial value of distribution to 'f' final value of distribution |
1 | plotBINNEG(p = 0.15, r = 3, n.plot = 50 , hlt = TRUE, i = 2, f = 4)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.