summary.ssir_epidemic_multi {ATQ}R Documentation

S3 Summary method for multiple epidemic simulations

Description

This function provides a summary of multiple SSIR epidemic simulations. It calculates and displays average statistics across all simulations.

Usage

## S3 method for class 'ssir_epidemic_multi'
summary(object, ...)

Arguments

object

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

...

Additional arguments affecting the summary produced.

Value

No return value, called for side effects.

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 = 100)

# Display summary
summary(multi_result)


[Package ATQ version 0.2.2 Index]