create_event_scheduler_listener: A listener to schedule future events

Description Usage Arguments

View source: R/utils_events.R

Description

a listener function to be attached to a individual::TargetedEvent to schedule a future event when that event fires.

Usage

1
create_event_scheduler_listener(event, duration, func, shift, dt)

Arguments

event

the future event to be schedule

duration

mean duration of waiting time to be scheduled

func

either make_rerlang or make_rexp

shift

add integer number of time steps to sampled value

dt

size of time step


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