plot.ssir_epidemic: Plot method for a single SSIR epidemic simulation
Description
This function creates plots for a single SSIR (Stochastic Susceptible-Infectious-Removed)
epidemic simulation.
It generates two plots: one for new infections and one for reported cases.
Usage
# S3 method for ssir_epidemic
plot(x, ...)
Value
A grid arrangement of two ggplot objects: new infections and reported cases.
Arguments
x
An object of class "ssir_epidemic", typically the result of calling ssir() with
rep = NULL or 1.
...
Additional arguments passed to the underlying plotting function (currently unused).
See Also
plot_single_epidemic for the underlying plotting function