colsums | R Documentation |
Form Row and Column Sums and Means for madness
objects.
## S4 method for signature 'madness'
colSums(x, na.rm = FALSE, dims = 1)
## S4 method for signature 'madness'
colMeans(x, na.rm = FALSE, dims = 1)
## S4 method for signature 'madness'
rowSums(x, na.rm = FALSE, dims = 1)
## S4 method for signature 'madness'
rowMeans(x, na.rm = FALSE, dims = 1)
x |
|
na.rm |
logical. Should missing values (including |
dims |
integer: Which dimensions are regarded as ‘rows’ or
‘columns’ to sum over. For |
a madness
object. Note that the sums are flattened to a
column vector.
Steven E. Pav shabbychef@gmail.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.