Make a correlation matrix

make_corrmatrix(
  data_type = "country_descriptors",
  corr_type = "spearman",
  rescale = FALSE,
  .plot = TRUE
)

Arguments

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 FALSE, controls if the data have to be rescaled

.plot

logical, controls if the correlation plot is outputed

Value

a correlation matrix