rowSums-methods: ~~ Methods for Function rowSums and rowMeans ~~

rowSums-methodsR Documentation

~~ Methods for Function rowSums and rowMeans ~~

Description

~~ Methods for function rowSums and rowMeans~~

Usage

## S4 method for signature 'magpie'
rowSums(x, na.rm = FALSE, dims = 1, ...)

Arguments

x

object on which calculation should be performed

na.rm

logical. Should missing values (including NaN) be omitted from the calculations?

dims

integer: Which dimensions are regarded as "rows" or "columns" to sum over. For row*, the sum or mean is over dimensions dims+1, ...; for col* it is over dimensions 1:dims.

...

further arguments passed to other colSums/colMeans methods

Methods

list("signature(x = \"ANY\")")

normal rowSums and rowMeans method

list("signature(x = \"magpie\")")

classical method prepared to handle MAgPIE objects


magclass documentation built on July 9, 2023, 7:03 p.m.