rowCum {timeSeries} | R Documentation |
Compute cumulative row Statistics.
## S4 method for signature 'ANY' rowCumsums(x, na.rm = FALSE, ...) ## S4 method for signature 'timeSeries' rowCumsums(x, na.rm = FALSE, ...)
na.rm |
a logical. Should missing values be removed? |
x |
a time series, may be an object of class |
... |
arguments to be passed. |
all functions return an S4 object of class timeSeries
.
## Simulated Monthly Return Data - X = matrix(rnorm(24), ncol = 2) ## Compute cumulated Sums - rowCumsums(X)