To use incidence tracking, run the lines in examples anytime after all events have been made and initialized and before simulation begins.

attach_tracking_listener_incidence(events, renderer)

Arguments

events

a list of events

renderer

a Render object

Examples

if (FALSE) {
incidence_renderer <- individual::Render$new(timesteps)
attach_tracking_listener_incidence(events = events, renderer = incidence_renderer)
}