Form Row and Column Sums and Means
rowSums.RdForm row and column sums and means for sparse spam matrices
Usage
rowSums(x, na.rm = FALSE, dims = 1, ...)
colSums(x, na.rm = FALSE, dims = 1, ...)
rowMeans(x, na.rm = FALSE, dims = 1, ...)
colMeans(x, na.rm = FALSE, dims = 1, ...)Arguments
- x
a
spamobject- na.rm
currently ignored
- dims
ignored as we have only two dimensions.
- ...
potentially further arguments from other methods.