plot_coverage {vaccineff} | R Documentation |
Plot Vaccine Coverage
Description
This function returns a plot of the vaccine coverage or the
cumulative coverage (if cumulative = TRUE). The return is a 2-axis ggplot2
element with the number of vaccines per date on the left axis and the
coverage per date on the right axis. When a matching routine is performed,
the left axis also accounts for the doses of the matched cohort.
Usage
plot_coverage(vaccineff_data, date_interval = NULL, cumulative = FALSE)
Arguments
vaccineff_data |
Object of the class |
date_interval |
If NULL, the function calculates the coverage interval
based on the min() and max() of the |
cumulative |
If |
Value
2-axis ggplot2 plot of vaccine coverage and daily doses.
[Package vaccineff version 1.0.0 Index]