Description Usage Arguments Value
View source: R/binomdist-function.R
Similar to Excel's BINOMDIST(number_s,trials,probability_s,cumulative)
function.
binomdist()
uses stats::pbinom()
when .cumulative = TRUE
, and stats::dbinom()
when not (i.e., the default).
1 |
.s |
The number of successes. Cannot be less than 0. |
.t |
The number of trials. Must be greater than 0 and greater than or equal to |
.p |
The probability of success on each trial. Must be greater than 0 and less than 1. |
.cumulative |
Defaults to FALSE, returning the probability mass function, which is the probability that there are |
... |
(Optional) Extra arguments passed to |
Returns the individual term binomial distribution probability.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.