# Simulate and visualise a correlation matrix with 10 columns and rows, rank equal to 4 and
# negatively skewed correlations.
cor_mat <- struc_cor_mat(
n = 10,
base.cor = 0.3,
range = 0.7,
rank = 4,
skew = -0.5
)
plot_matrix(
mat = cor_mat,
order = TRUE
)
Run the code above in your browser using DataLab