mean.Tensor: #' @export mean.Tensor <- function(x, trim = 0, na.rm =...

Description Usage Arguments

Description

#' @export mean.Tensor <- function(x, trim = 0, na.rm = FALSE) x$mean(trim, na.rm) return(invisible(x))

Usage

1
2
## S3 method for class 'Tensor'
mean(x, trim = 0, na.rm = FALSE, ...)

Arguments

x

A Tensor object

trim

the fraction (0 to 0.5) of observations to be trimmed from each end of x before the mean is computed. Values of trim outside that range are taken as the nearest endpoint.

na.rm

a logical value indicating whether NA values should be stripped before the computation proceeds.

...

further arguments to or from other methods


cdeterman/lazytensor documentation built on May 28, 2019, 7:15 p.m.