Description Usage Arguments Value
Compute the sums/means of the rows/columns of a matrix.
Sweep a vector through the rows/cols of a matrix using an arithmetic operation.
1 2 3 4 5 6 7 8 9 10 11 | dimops_rowsums(x, s = NULL)
dimops_rowmeans(x, s = NULL)
dimops_colsums(x, s = NULL)
dimops_colmeans(x, s = NULL)
dimops_rowsweep(x, s, op)
dimops_colsweep(x, s, op)
|
x |
Input matrix. |
s |
Either |
op |
The operation: |
Returns the matrix sum.
Returns the matrix sum.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.