Skip to contents

Run an epidemic model scenario using the function stored in model_function with the arguments in parameters. Runs as many replicates of the function as specified in replicates. The simulation output data are stored under data.

Usage

# S3 method for scenario
run_scenario(x)

Arguments

x

A scenario object.

Value

The original scenario object with the data field populated with simulation output. This object must be assigned.