Software Open Access

ImperialCollegeLondon/covid19model: IFR Code Release

Swapnil Mishra; Fabian Valka; Christopher Cave-Ayland; hbz; Måns Magnusson; bgoodri; Juliette Unwin; Seth Flaxman; Alexandre Payot; hrkulkarMsft

Version 8 Release

The code for running models remains unchanged in the release. We provide scripts to calculate ifr for European countries and USA states. We hope the release of ifr computation code will enable the researchers to adapt the ifr calculations as per their requirements. The two files to run are compute-ifr-europe.r and compute-ifr-usa.r.

The code for ifr calculation for a new country will need changes if you have different age-specific bands. The code provided is not a universal code that will work for each country, the intention is to help researchers to modify the code easily for their setup.

The code for ifr needs an additional package named socialmixr, which is not specified in the environment file as it doesn't exist with conda. You will need to download it via CRAN.

Files (16.2 MB)
Name Size
16.2 MB Download
All versions This version
Views 682276
Downloads 3721
Data volume 576.7 MB340.2 MB
Unique views 574258
Unique downloads 3721


Cite as