Description Usage Arguments Value Examples
Compute cumulative sums for each row of a matrix.
1 | row_cumsum(x)
|
x |
Vector or matrix. If vector, the vector will be converted to a matrix with one column. |
Matrix containing cumulative sums for each row.
1 2 3 | ShadowCAT:::row_cumsum(matrix(1:12, ncol = 3))
ShadowCAT:::row_cumsum(1:12)
ShadowCAT:::row_cumsum(matrix(1:4, nrow = 1))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.