Description Usage Arguments Value Examples
Format correlation matrix for input into ggplot
1 | format_corr(corr_matrix)
|
corr_matrix |
a correlation matrix derived from using stats::cor() |
convert matrix to tidy data with columns for 'Var1' and 'Var2' (the populations) and 'value' (the correlation value)
1 2 | corr <- calc_corr(sample_populations_all_groups)
format_corr(corr)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.