This repository contains code for the paper `Sequential Monte Carlo algorithms for agent-based models of disease transmission' by Nianqiao (Phyllis) Ju, Jeremy Heng and Pierre Jacob.
This repository contains code for the paper `Sequential Monte Carlo algorithms for agent-based models of disease transmission’ by Nianqiao (Phyllis) Ju, Jeremy Heng and Pierre Jacob.
The package can be installed from R via:
# install.packages("devtools")
devtools::install_github("nianqiaoju/agents")
It depends on the packages Rcpp, RcppEigen, igraph, which can be
installed via:
install.packages(c("Rcpp", "RcppEigen","igragh"))
Additionally you might want to install other packages, to help with
parallel computation and to compare run-time of algorithms:
install.packages(c("doParallel", "doRNG", "tictoc"))
and to help with manipulating results and plotting:
install.packages(c("dplyr", "ggplot2", "ggtheme"))
although these packages are not strictly required.