attach_event_listeners: Attach listeners to events

Description Usage Arguments

View source: R/events_base.R

Description

defines processes for events that can be scheduled in the future

Usage

1
2
3
4
5
6
7
attach_event_listeners(
  variables,
  events,
  parameters,
  shift = 1L,
  shift_exposure = 1L
)

Arguments

variables

list of variables in the model

events

a list of events in the model

parameters

the model parameters

shift

schedule future events after minimum number of time step delay

shift_exposure

schedule exposure event after minimum number of time step delay


mrc-ide/safir2 documentation built on Jan. 14, 2022, 9:37 p.m.