Description Usage Arguments Value Examples
View source: R/pan_labeller_country.R
Takes a character vector of some origin format given in
?countrycode::codelist
and returns either a character vector of the
format [origin] - [destination], or a character vector of only the
destination format.
1 2 3 4 5 6 | pan_labeller_country(
x,
origin = "iso3c",
destination = "country.name",
both = TRUE
)
|
x |
A character vector. |
origin |
An atomic character, see |
destination |
An atomic character, see |
both |
Boolean, should origin and destination be returned, or only destination? |
A character vector.
1 | pan_labeller_country(c("AUS", "TWN"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.