version 0.2.1
Number formatting functions, colour palettes and ggplot2 theme for the WHO Global Tuberculosis Report the WHO Global Tuberculosis Report.
Philippe Glaziou, Irwin Law, Hazim Timimi
devtools::install_github("GTB-TME/gtbreport")
ftb(23456)
[1] "23 500"
ftb(c(0.359, 0.00036))
[1] "0.36" "<0.01"
p <- ggplot(mtcars, aes(wt, mpg)) + geom_point() + facet_wrap(~ cyl)
print(p)
p2 <- p + theme_gtb()
print(p2)