cor2cov: Convert Correlation Matrix to Covariance Matrix

cor2covR Documentation

Convert Correlation Matrix to Covariance Matrix

Description

Converts a correlation matrix to a covariance matrix

Usage

cor2cov(cormat, data)

Arguments

cormat

A correlation matrix

data

The dataset the correlation matrix is from

Value

Returns a covariance matrix

Author(s)

Alexander Christensen <alexpaulchristensen@gmail.com>

Examples

cormat <- cor(neoOpen)

covmat <- cor2cov(cormat,neoOpen)


AlexChristensen/NetworkToolbox documentation built on March 6, 2023, 5:08 p.m.