This repository contains code for analysis of influenza antibody dynamics on multiple timescales.
main_model.R Main model fitting and plotting code - calls following 3 source files:
load_data_[LOCATION].RLoads data and reshapes to get in format efficient for simulation/inference
sero_functions.RFunctions for model and inference
posterior_analysis_flu.RReads in MCMC output and plots posteriors and model estimates for main figures
Kucharski AJ, Lessler J, Cummings DATC, Riley S (2018) Timescales of influenza A/H3N2 antibody dynamics. PLOS Biology