I've got a correlation matrix (say 3x3) and I'd like to extract the pairwise correlations and put them into a vector. That is, I'd like to go from the correlation matrix to:
corVec = c(rho_12, rho_13, rho_23)
I'd like to be able to do this for correlation matrices of any dimension.
The reason I'm doing this is because I'd like to construct a multivariate (elliptical) copula using the copula package with a random correlation matrix.
Thanks!