Description Usage Arguments Author(s) See Also Examples
Prints a matrix which values are the correlations between the chosen indicators for each of the selected countries. There are two possible usage:
it is possible to use a local data frame, using it as parameter of dataset
;
if ther argument dataset
is missing, you must indicate the arguments countries
and indicators
and a dataset will be generated using wb_tidy
1 | wb_cor(countries, indicators, dataset)
|
countries |
Vector of strings. It must include the ISO Alpha-2 code of the countries of interest. |
indicators |
Vector of strings. It must include the ID of the indicators from "The World Bank" datasets. |
dataset |
Data frame. It is recommended to create one using wb_tidy in order to avoid possible errors. |
Sergio Picascia sergio.picascia@studenti.unimi.it
wb_tidy
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.