plot_historic_prop_pul_tb: Plot Historic Proportions of Pulmonary/Extra-Pulmonary TB

Description Usage Arguments Value Examples

View source: R/plot_historic_prop_pul_tb.R

Description

Exported from tbinenglanddataclean.

Usage

1
2
plot_historic_prop_pul_tb(df = tb_not_ew, plot_theme = NULL,
  colour_scale = NULL, return = FALSE)

Arguments

df

A dataframe, (defaults to using tb_not_ew) of historic TB notifications

plot_theme

The ggplot2 theme to use, defaults to theme_minimal.

colour_scale

The colour scale to plot with, defaults to scale_colour_viridis_d

return

A logical indiciting if the plot should be printed or returned (defaults to FALSE)

Value

A ggplot2 plot of TB notifications over time, with a secondary zoomed plot from a specified date.

Examples

1

bristolmathmodellers/biddmodellingcourse documentation built on May 28, 2019, 7:13 p.m.