rowCum
From timeSeries v3022.101.2
by Tobias Setz
Cumulated Column Statistics
Compute cumulative row Statistics.
- Keywords
- univar
Usage
"rowCumsums"(x, na.rm = FALSE, ...)
"rowCumsums"(x, na.rm = FALSE, ...)
Arguments
- na.rm
- a logical. Should missing values be removed?
- x
-
a time series, may be an object of class
"matrix"
or"timeSeries"
. - ...
- arguments to be passed.
Value
- all functions return an S4 object of class
timeSeries
.Examples
library(timeSeries)
## Simulated Monthly Return Data -
X = matrix(rnorm(24), ncol = 2)
## Compute cumulated Sums -
rowCumsums(X)
Community examples
Looks like there are no examples yet.