get_JSd_country.RdCalculates the Jensen-Shannon distance for countries
get_JSd_country(top, .df = df, .plot = FALSE)
| top | one possible value for the |
|---|---|
| .df | a data.frame |
| .plot | logical, if |
the Jensen-Shannon distance or a ggplot object depending on .plot