Rev 7002 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
\name{prod}\title{Product of Vector Elements}\usage{prod(\dots, na.rm=TRUE)}\alias{prod}\description{\code{prod} returns the product of all the valuespresent in its arguments.}\details{If \code{na.rm} is \code{FALSE} an \code{NA}value in any of the arguments will causea value of \code{NA} to be returned, otherwise\code{NA} values are ignored.}\seealso{\code{\link{sum}},\code{\link{cumprod}},\code{\link{cumsum}}.}\examples{print(prod(1:7)) == print(gamma(8))}\keyword{arith}