colSums-methods: ~~ Methods for Function colSums and colMeans ~~

colSums-methodsR Documentation

~~ Methods for Function colSums and colMeans ~~

Description

~~ Methods for function colSums and colMeans ~~

Usage

## S4 method for signature 'magpie'
colSums(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 colSums and colMeans method

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

classical method prepared to handle MAgPIE objects


magclass documentation built on May 29, 2024, 6:20 a.m.