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

Description Usage Arguments Value

View source: R/mvdistributions.R View source: R/rzidistr.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/codmeR documentation built on May 4, 2019, 10:14 p.m.