Event and root-finding functions to trigger response strategies
Source:R/closure.R
make_response_threshold_event.Rd
Prepare functions that can be passed to deSolve::lsoda()
as
event and root-finding functions, which trigger response strategies that
reduce disease transmission.
Arguments
- response_threshold
A single numeric value for the total number of hospitalisations that causes an epidemic response (specified by
response_strategy
) to be triggered, if it has not already been triggered viaresponse_time
. Currently defaults to 1000, which overrides the default response- and country-specific threshold values held in country_data.