

   TThhee BBiinnoommiiaall DDiissttrriibbuuttiioonn

        dbinom(x, size, prob)
        pbinom(q, size, prob)
        qbinom(p, size, prob)
        rbinom(n, size, prob)

   AArrgguummeennttss::

        x,q: vector of quantiles.

          p: vector of probabilities.

          n: number of observations to generate.

       size: number of trials.

       prob: probability of success on each trial.

   VVaalluuee::

        These functions provide information about the binomial
        distribution with parameters `size' and `prob'.  `dbi-
        nom' gives the density, `pbinom' gives the distribution
        function `qbinom' gives the quantile function and
        `rbinom' generates random deviates.

        The binomial distribution with `size' = n and `prob' =
        p has density

                  p(x) = Choose(n,x) p^x (1-p)^(n-x)

        for x = 0, ..., n.

   SSeeee AAllssoo::

        `dnbinom' for the negative binomial, and `dpois' for
        the Poisson distribution.

   EExxaammpplleess::

        # Compute P(45 < X < 55) for X Binomial(100,0.5)
        sum(dbinom(46:54, 100, 0.5))

