Set up Correlation Matrices
cor_matrix(cors, dim, dimnames = NULL)
vector of unique correlations
Dimension of the correlation matrix
Optional dimnames of the correlation matrix
A correlation matrix of dimension dim.
matrix
dim
# NOT RUN { cor_matrix(c(0.2, 0.3, 0.5), dim = 3) # }
Run the code above in your browser using DataLab