make_corrmatrix.RdMake a correlation matrix
make_corrmatrix( data_type = "country_descriptors", corr_type = "spearman", rescale = FALSE, .plot = TRUE )
| data_type | character, of one "country_descriptors", "survey_results", "survey_results_pct", "all"; default to "country_descriptors" |
|---|---|
| corr_type | character, one of "spearman", "pearson" |
| rescale | logical, default to |
| .plot | logical, controls if the correlation plot is outputed |
a correlation matrix