The following functions are associated with the binomial equation:
• dbinom(k, n, q)—Returns the probability density for value k.
• pbinom(k, n, q)—Returns the cumulative probability distribution for value k.
• qbinom(p, n, q)—Returns the inverse cumulative probability distribution for probability p.
• rbinom(m, n, q)—Returns a vector of m random numbers having the binomial distribution.
Arguments
• k and n are integers, 0 ≤ k ≤ n. To allow integration and other operations over these arguments, values outside of the stated range are allowed, but they produce a 0 result.