row_cumsum: Cumulative row sums

Description Usage Arguments Value Examples

Description

Compute cumulative sums for each row of a matrix.

Usage

1

Arguments

x

Vector or matrix. If vector, the vector will be converted to a matrix with one column.

Value

Matrix containing cumulative sums for each row.

Examples

1
2
3

Karel-Kroeze/ShadowCAT documentation built on May 7, 2019, 12:28 p.m.