rowColCalcDS {dsBase} | R Documentation |
Computes sums and means of rows or columns of numeric arrays
Description
The function is similar to R base functions 'rowSums', 'colSums', 'rowMeans' and 'colMeans'.
Usage
rowColCalcDS(dataset, operation)
Arguments
dataset |
an array of two or more dimensions. |
operation |
an integer that indicates the operation to carry out: 1 for 'rowSums', 2 for 'colSums', 3 for 'rowMeans' or 4 for 'colMeans' |
Details
the output is returned to the user only the number of entries in the output vector is greater or equal to the allowed size.
Value
a numeric vector
Author(s)
Gaye, A.
[Package dsBase version 6.3.3 Index]