

   prod {base}                                  R Documentation

   PPrroodduucctt ooff VVeeccttoorr EElleemmeennttss

   DDeessccrriippttiioonn::

        `prod' returns the product of all the values present in
        its arguments.

   UUssaaggee::

        prod(..., na.rm=TRUE)

   DDeettaaiillss::

        If `na.rm' is `FALSE' an `NA' value in any of the argu-
        ments will cause a value of `NA' to be returned, other-
        wise `NA' values are ignored.

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

        `sum', `cumprod', `cumsum'.

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

        print(prod(1:7)) == print(gamma(8))

