Generate a ggplot2 object plotting simulated quantities over time.
Arguments
- sim_diags
A list containing the simulated diagnosis data objects sim_data and stan_data.
- quantity
A string specifying the quantity to plot. Options are "incidence", "undiag_prev", "undiag_migration", "all_migration", "diag_prob", "diagnoses", "migration_prob", "transfers", "transfers_detected", "ratio_abroad_uk", "detect_prob", and "migrant_hiv_prevalence".
Examples
# See ?run_backcalc for a full end-to-end workflow.
invisible(NULL)