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