Learn R Programming

EpiModel (version 2.3.2)

trigger_end_horizon: Function to Trigger the End Horizon

Description

Function to Trigger the End Horizon

Usage

trigger_end_horizon(dat)

Value

The updated dat main list object.

Arguments

dat

Main list object containing a networkDynamic object and other initialization information passed from netsim.

Details

This function triggers the end horizon if a control end.horizon exists and its at value is equal to the current timestep. The end horizon consists on the removal of a set of modules from the module list.