powered by
Compute cumulative row statistics.
# S4 method for ANY rowCumsums(x, na.rm = FALSE, ...) # S4 method for timeSeries rowCumsums(x, na.rm = FALSE, ...)
for the default method, a matrix,
for the "timeSeries" method, an S4 object of class "timeSeries".
"timeSeries"
a time series, may be an object of class "matrix" or "timeSeries".
"matrix"
a logical. Should missing values be removed?
arguments to be passed.
colCumXXX
## Simulated Monthly Return Data - X = matrix(rnorm(24), ncol = 2) ## Compute cumulated Sums - rowCumsums(X)
Run the code above in your browser using DataLab