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 Nov. 7, 2023, 5:07 p.m.