get_JSd_corpus.Rd
Calculates the Jensen-Shannon distance for countries
get_JSd_corpus(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