R/prefab.R
update_category_listener.Rd
Updates the category of a sub-population as the result of an event firing, to be used in the TargetedEvent class.
TargetedEvent
update_category_listener(variable, to)
a CategoricalVariable object.
CategoricalVariable
a string representing the destination category.