#' @export mean.Tensor <- function(x, trim = 0, na.rm = FALSE) x$mean(trim, na.rm) return(invisible(x))
1 2 |
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.