powered by
Converts a correlation matrix to a covariance matrix
cor2cov(cormat, data)
A correlation matrix
The dataset the correlation matrix is from
Returns a covariance matrix
# NOT RUN { cormat <- cor(neoOpen) covmat <- cor2cov(cormat,neoOpen) # }
Run the code above in your browser using DataLab