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 toNULL
, and acountry
-specific spare hospital capacity value is used from country_data. Pass a number to override the default country-specific threshold value.