ic_plot.Rd
Provides methods to plot estimated time trends of vaccine coverage for countries.
ic_plot( X, probs = c(0.025, 0.975), vaccine, observed = TRUE, prediction = TRUE, wuenic = FALSE, filter_yovi = FALSE, ncol = 4, interactive = FALSE ) # S3 method for icfit ic_plot( X, probs = c(0.025, 0.975), vaccine, observed = TRUE, prediction = TRUE, wuenic = FALSE, filter_yovi = FALSE, ncol = 4, interactive = FALSE ) # S3 method for iclist ic_plot( X, probs = c(0.025, 0.975), vaccine, observed = TRUE, prediction = TRUE, filter_yovi = FALSE, ncol = 4, interactive = FALSE )
X | Object of type |
---|---|
probs | Numeric vector of length 2 for probabilities with values in 0,1 to be used to calculate the upper and lower credible intervals. |
vaccine | Optional. Character vector to subset which vaccines to plot |
observed | Logical. Should the observed data used to fit |
prediction | Logical. If predictions are found in the |
wuenic | Logical. Should WUENIC vaccination coverage estimates be
overlaid on the plot? Default is |
filter_yovi | Logical. Should the estimates be filtered by year of
vaccine introduction? Default is |
ncol | When plotting multiple countries, the number of plots per page. |
interactive | Logical. Should the output be interactive? Default is
|
A plot of the coverage estimates extracted from the fit, including credible intervals.
If observed data are provided, they will be overlaid on the estimates.