plot.nimue_simulation | R Documentation |
nimue simulation plot
## S3 method for class 'nimue_simulation' plot( x, var_select = NULL, replicates = FALSE, summarise = TRUE, ci = TRUE, q = c(0.025, 0.975), summary_f = mean, x_var = "t", date_0 = NULL, particle_fit = FALSE, ... )
x |
An squire_simulation object |
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 |
x_var |
X variable to use for plotting (default is |
date_0 |
Date of time 0 (e.g. "2020-03-01"), if specified a date column will be added |
particle_fit |
If the squire_simulation provided is the result of running the particle filter, do we want to just plot the fit. Default = FALSE |
... |
additional arguments affecting the plot produced. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.