Convert a correlation matrix into a covariance matrix
Arguments
- sigma
vector of standard deviations. The order of standard deviations should correspond to the column order in 'cormat'.
- cormat
a symmetric numeric correlation matrix
Value
The covariance matrix
Author
Thomas Debray <thomas.debray@gmail.com>