R/cov_cor_conversion.R
    cor_to_cov.RdThe same approach as in `base::cov2cor()` is used to compute the variance-covariance matrix from a matrix of correlations and a vector of variance values.
cor_to_cov(pmat_cor, pvec_var)
| pmat_cor | correlation matrix  | 
    
|---|---|
| pvec_var | vector of variance components  | 
    
variance covariance matrix