Description Usage Arguments Value Examples
View source: R/convert_cor_to_cov.R
Convert correlation matrix to covariance matrix
1 | convert_cor_to_cov(cormat, sd)
|
cormat |
A correlation matrix. |
sd |
A sd vector. |
A covariance matrix.
1 2 3 | R <- matrix(c(1, 0.5, 0.5, 1), nrow = 2)
SD <- c(2, 3)
V <- convert_cor_to_cov(R, SD)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.