## Simulated Return Data in Matrix Form -
x = matrix(rnorm(252), ncol = 2)
## Mean Columnwise Statistics -
colStats(x, FUN = mean)
## Quantiles Column by Column -
colQuantiles(x, prob = 0.10, type = 1)
Run the code above in your browser using DataLab