R/events_nat.R
attach_event_listeners_natural_immunity.RdAttach event listeners for natural immunity events
attach_event_listeners_natural_immunity(
variables,
events,
parameters,
dt,
additive = FALSE
)a named list of variables
a named list of events
the parameters
size of time step
if FALSE the antibody titre is overwritten upon recovery from infection
according to parameters$mu_ab_infection, if TRUE the antibody titre is sampled and added
to existing titre. Please choose this option with caution, as it changes the interpretation
of the parameter value parameters$mu_ab_infection.