create_state_update_listener: A listener to update state

Description Usage Arguments

View source: R/utils_events.R

Description

a listener to be attached to a individual::TargetedEvent to update state when that event fires.

Usage

1
create_state_update_listener(states, destination)

Arguments

states

a individual::CategoricalVariable object

destination

the destination state


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