This function provides a simple formatting of a correlation matrix into a table with 4 columns containing : Column 1 : row names (variable 1 for the correlation test) Column 2 : column names (variable 2 for the correlation test) Column 3 : the correlation coefficients Column 4 : the p-values of the correlations
1 | flat_cor_mat(cor_r, cor_p)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.