plot_trajectory | R Documentation |
Function that provides a plot of the estimated population trajectory from a SIR outputs model including: median, 95 credible interval, 90
plot_trajectory(SIR, Reference = NULL, file_name = NULL,
posterior_pred = TRUE, coolors = "#941B0C", coolors2 = "#104F55")
SIR |
A fit SIR model |
Reference |
A fit SIR model for the reference case |
file_name |
name of a file to identified the files exported by the function. If NULL, does not save. |
posterior_pred |
Logical. If true, includes a posterior predictive distribution of the estimated N |
Returns and saves a figure with the population trajectory.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.