Code for modelling combined isolation, tracing and physical distancing measures. Note: this is working repository, so code and data are likely to change over time
First, set local path in R to GitHub directory, e.g.:
setwd("~/Documents/GitHub/2020-cov-tracing/")
Data loading and main model run script are in scripts/contact_model.r
. This calls the following R file:
R/model_functions.R
- Function to sample individual contact networks, calculate secondary infections and effect of control measures.