R/product.R

Defines functions product

Documented in product

#' @rdname rowProds
#' @export
product <- function(x, idxs = NULL, na.rm = FALSE, ...) {
  .Call(C_productExpSumLog, x, idxs, as.logical(na.rm), TRUE)
}

Try the matrixStats package in your browser

Any scripts or data that you put into this service are public.

matrixStats documentation built on May 29, 2024, 1:38 a.m.