~~ Methods for function rowSums
and rowMeans
~~
# S4 method for magpie
rowSums(x, na.rm = FALSE, dims = 1, ...)
object on which calculation should be performed
logical. Should missing values (including NaN) be omitted from the calculations?
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
normal rowSums and rowMeans method
classical method prepared to handle MAgPIE objects