Convert the vech (column of strictly lower trianglar values from a matrix) into a correlation matrix.
vech2Corr.Rdvech2Corr is a convenience function for creating correlation matrices from a vector of the lower triangular values. It checks the arguments to make sure they are consistent with the requirements of a correlation matrix. All values must be in [-1, 1], and the number of values specified must be correct for a lower triangle.
Details
Use this in combination with the lazyCov function to
convert a vector of standard deviations and the correlation matrix
into a covariance matrix.
Author
Paul E. Johnson pauljohn@ku.edu