cor2cov | R Documentation |
Use sweep. See https://en.wikipedia.org/wiki/Covariance_matrix#Correlation_matrix.
cor2cov(x, sd)
x |
correlation matrix |
sd |
standard deviations |
matrix
Timothee Flutre
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.