Description Usage Arguments Value Examples
View source: R/plot_historic_tb_ew.R
Plot Historic TB Notifications in England and Wales
1 2 3 4 |
df |
A dataframe, (defaults to using |
include_interventions |
Logical, defaults to |
df_interventions |
A dataframe, (defaults to using |
zoom_date_start |
Numeric, the year to filter notifications from for the second zoomed plot. |
zoom_date_end |
Numeric, the year to end the zoom window, defaults to the final year of the data. |
plot_theme |
The ggplot2 theme to use, defaults to |
colour_scale |
The colour scale to plot with, defaults to |
return |
A logical indiciting if the plot should be printed or returned (defaults to |
A ggplot2 plot of TB notifications over time, with a secondary zoomed plot from a specified date.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.