Binomial Distribution
Probability mass function (density) of the binomial distribution.
mu.dbinom(x, size, prob, log = FALSE)
x |
vector of quantiles. Missing values ( |
size |
vector of (positive integer) numbers of coin flips for which the Binomial distribution measures the number of heads. |
prob |
vector of probabilities of a head. If |
log |
logical; if |
mu.dbinom <- function(x, size, prob, log=FALSE) if (size==0) 1 else dbinom(x, size, prob, log=FALSE)
Returns the density of bin(size, prob) at x.
Knut M. Wittkowski kmw@rockefeller.edu, Tingting Song ttsong@gmail.com
dbinom(100, 10, 3/10, log=FALSE)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.