cor2cov: Convert a symmetric correlation matrix to a covariance matrix...

Description Usage Arguments Value

View source: R/mvdistributions.R

Description

Convert a symmetric correlation matrix to a covariance matrix given the standard deviation

Usage

1
cor2cov(cor, sds)

Arguments

cor

a symmetric correlation matrix

sds

standard deviations of the resulting covariance.

Value

Covariance matrix of sample dimension as cor


zdk123/SpiecEasi documentation built on Oct. 1, 2018, 2:12 p.m.