a function name. The statistical function to be applied.
prob
a numeric value, the probability with value in [0,1].
x
a rectangular object which can be transformed into a matrix
by the function as.matrix.
...
arguments to be passed.
Value
the functions return a numeric vector of the statistics.
See Also
link{rowStats}.
Examples
## 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)