| rowCum {fSeries} | R Documentation |
Functions to compute cumulative row Statistics.
## Default S3 method: rowCumsums(x, na.rm = FALSE, ...) ## S3 method for class '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 "matrix",
"timeSeries", or "zoo".
|
... |
arguments to be passed. |
all functions return an S4 object of class timeSeries.
The methods for the "zoo" methods are still preliminary and
untested. na.rm is not yet supported in all case, please test.
Diethelm Wuertz for the Rmetrics R-port.
## Simulated Monthly Return Data:
x = matrix(rnorm(24), ncol = 2)
## colStats -
rowCumsums(x)