Populate a correlation matrix

make_cor_mat(r, dim = 2)

Arguments

r

Pearson's correlation to populate off-diagonals

dim

Matrix dimensions