
Generate probabilities of seropositivity by age based on a time-varying Force-of-Infection (FoI) model.
Source:R/simulate_serosurvey.R
prob_seroprev_time_by_age.Rd
This function calculates the probabilities of seropositivity by age based on a time-varying FoI model. It takes into account the FoI and the rate of seroreversion.