Skip to contents

Run the epidemic model scenarios specified as scenario objects in a comparison object. Calls run_scenario.scenario() on each object in the data list of the comparison object.

Usage

# S3 method for comparison
run_scenario(x)

Arguments

x

A scenario object.

Value

A comparison with the attributes of the original object passed to the function, but with the data list containing scenario objects with replicate outcomes.