plot.squire_simulation | R Documentation |
squire simulation plot
## S3 method for class 'squire_simulation' plot( x, var_select = NULL, replicates = FALSE, summarise = TRUE, ci = TRUE, q = c(0.025, 0.975), summary_f = mean, x_var = "t", 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 |
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.