projection_plotting | R Documentation |
Plot projections against each other
projection_plotting( r_list, scenarios, add_parms_to_scenarios = TRUE, var_select = NULL, replicates = FALSE, summarise = TRUE, ci = TRUE, q = c(0.025, 0.975), summary_f = mean, date_0 = Sys.Date(), x_var = "t", ... )
r_list |
List of different projection runs from |
scenarios |
Character vector describing the different scenarios. |
add_parms_to_scenarios |
Logical. Should the parameters used for the projection runs be added to scenarios. Default = TRUE |
var_select |
Vector of variable names to plot (default is all) |
replicates |
Plot replicates |
summarise |
Logical, add summary line |
ci |
logical add confidence interval ribbon |
q |
Quantiles for upper and lower of interval ribbon |
summary_f |
Function to summarise each compartment
passed to the |
date_0 |
Date of time 0, if specified a date column will be added |
x_var |
X variable to use for plotting (default is |
... |
additional arguments passed to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.