Description Usage Arguments Details Value
Center a matrix
1 | center(x)
|
x |
matrix |
This function is used primarily to center a time series of asset returns or factors. Each column should represent the returns of an asset or factor realizations. The expected value is taken as the sample mean.
x.centered = x - mean(x)
matrix of centered data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.