Gravar-mail: Variation in loss of immunity shapes influenza epidemics and the impact of vaccination