cor2cov: Convert Correlation Matrix to Covariance Matrix

Description Usage Arguments Value Author(s) Examples

Description

Converts a correlation matrix to a covariance matrix

Usage

1
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

1
2
3
cormat <- cor(neoOpen)

covmat <- cor2cov(cormat,neoOpen)

NetworkToolbox documentation built on May 28, 2021, 5:11 p.m.