powered by
## S3 method for class 'ANY': rowCumsums(x, na.rm = FALSE, \dots) ## S3 method for class 'timeSeries': rowCumsums(x, na.rm = FALSE, \dots)
"matrix"
"timeSeries"
timeSeries
## Simulated Monthly Return Data - X = matrix(rnorm(24), ncol = 2) ## Compute cumulated Sums - rowCumsums(X)
Run the code above in your browser using DataLab