powered by
This function provides a summary of SSIR epidemic simulation. It calculates and displays the statistics.
# S3 method for ssir_epidemic summary(object, ...)
No return value, called for side effects.
An object of class "ssir_epidemic", typically the result of calling ssir() with rep = 1 or NULL.
Additional arguments affecting the summary produced.
# Run multiple simulations result <- ssir(N = 10000, T = 300, alpha = 0.3, inf_period = 4, inf_init = 32, report = 0.02, lag = 7) # Display summary summary(result)
Run the code above in your browser using DataLab