cor2cov: Convert a correlation matrix to a covariance matrix

View source: R/gaussianRankCorr.R

cor2covR Documentation

Convert a correlation matrix to a covariance matrix

Description

This function converts a correlation matrix to a covariance matrix

Usage

cor2cov(corr, std)

Arguments

corr

The correlation matrix to be converted. This must be symmetric.

std

A vector that contains the standard deviations of the variables in the correlation matrix.

Value

The covariance matrix.


BSL documentation built on Nov. 3, 2022, 9:06 a.m.