idmodelr is an R package that contains utility functions for infectious disease modelling. It also offers some simple compartmental ODE models which can be used for teaching purposes or as the basis for more complex models.


You can install idmodelr from github with:


File an issue here if there is a feature, that you think is missing from the package, or better yet submit a pull request!

Please note that the idmodelr project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.


This packge was developed in a docker container based on the tidyverse docker image. To run the docker image run:

The rstudio client can be found on port :8787 at your local machines ip. The default username:password is seabbs:seabbs, set the user with -e USER=username, and the password with - e PASSWORD=newpasswordhere. The default is to save the analysis files into the user directory. Alternatively, access the development environment via binder.