# NOT RUN {
if (require(ggplot2, quietly = TRUE)) {
ggplot(data.frame(country = c("KOR", "MMR", "TWN", "COG"),
y = 1:4),
aes(x = country, y = y)) +
geom_col() +
scale_x_discrete(labels = country_format(from = "iso3c"))
}
# }
Run the code above in your browser using DataLab