plot.ssir_epidemic_multi {ATQ} | R Documentation |

## Plot method for multiple SSIR epidemic simulations

### Description

This function creates plots for multiple SSIR (Stochastic Susceptible-Infectious-Removed) epidemic simulations. It generates two plots (new infections and reported cases) for each simulation in the multi-simulation object.

### Usage

```
## S3 method for class 'ssir_epidemic_multi'
plot(x, ...)
```

### Arguments

`x` |
An object of class "ssir_epidemic_multi", typically the result of calling ssir() with rep > 1. |

`...` |
Additional arguments passed to the underlying plotting function (currently unused). |

### Value

A list of grid arrangements, each containing two ggplot objects (new infections and reported cases) for each epidemic simulation.

### See Also

`plot_single_epidemic`

for the underlying plotting function

### Examples

```
# Run multiple simulations
multi_result <- ssir(N = 10000, T = 300, alpha = 0.3, inf_period = 4,
inf_init = 32, report = 0.02, lag = 7, rep = 5)
# Plot the results
plots <- plot(multi_result)
# Display the first simulation's plots
plots[[1]]
```

[Package

*ATQ*version 0.2.2 Index]