plot.list.Rd
Plot simulation result given list
# S3 method for list plot( x, comp_remove = "none", time_limit = 90, ci = TRUE, sep_compartments = FALSE, trans = FALSE, known = NULL, start_date = ymd("2020-03-21"), x_axis = "Date (MM-DD)", plot_title = "", sim_population = 1000, total_population = NULL, ... )
x | A list of seiqhrf objects returned from |
---|---|
comp_remove | Compartments to remove. Suggest c(s.num, r.num) |
time_limit | Number of steps (days) to plot. |
ci | T/F to include 95% confidence intervals in sirplus plot. |
sep_compartments | T/F use faceting to show each compartment in a separate plot, only works if plotting a single simulation. |
trans | Y-axis transformation (e.g. log2, log10). |
known | Dataframe with known compartment numbers to plot alongside projections |
start_date | Date for day 0. |
x_axis | Title for x-axis. |
plot_title | Title for whole plot. total_population |
sim_population | Size of population simulated. Only needed if providing `total_population`. |
total_population | True population size, needed only if simulation size is smaller than the true population size due to computational cost etc. |
... | Additional parameters |