/gtbreport

Utility functions, colour palettes and themes for the online Global TB Report

Primary LanguageROtherNOASSERTION

gtbreport

version 0.2.1

Number formatting functions, colour palettes and ggplot2 theme for the WHO Global Tuberculosis Report the WHO Global Tuberculosis Report.

Authors:

Philippe Glaziou, Irwin Law, Hazim Timimi

Installation:

devtools::install_github("GTB-TME/gtbreport")

Examples:

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)

image

p2 <- p + theme_gtb()

print(p2)

image