I have a correlation table from a book that I want to import into R.
The ultimate goal is to convert this correlation matrix into a covariance matrix using the cor2cov
function. However, in order to do that, I need to read in all these values into a corr.mat
data type first. How do I do that? Do I read in the values as a dataframe first? Or as vectors?
Thank you!