reorder_cormat | R Documentation |
Reorder the correlation matrix according to the correlation coefficient by using hclust for hierarchical clustering order. This is useful to identify the hidden pattern in the matrix.
reorder_cormat(x)
x |
The correlation matrix |
The ordered correlation matrix
Tiago Olivoto tiagoolivoto@gmail.com
library(metan) cor_mat <- corr_coef(data_ge2, PH, EH, CD, CL, ED, NKR) cor_mat$cor reorder_cormat(cor_mat$cor)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.