Skip to content

SEIR model for COVID-19 infection, including different clinical trajectories of infection

Notifications You must be signed in to change notification settings

mcd-unison/SEIR_COVID19

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 

Repository files navigation

SEIR_COVID19

The code for creating the R Shiny application https://alhill.shinyapps.io/COVID19seir/ is in the directory COVID19seir. This code is an SEIR model for COVID-19 infection, including different clinical trajectories of infection, interventions to reduce transmission, and comparisons to healthcare capacity.

The code that produces the interface and functionality of the Shiny App is in files

  • server.R
  • ui.R

Files used in the explanatory sections of the app are

  • SEIR.Rmd
  • www/Parameters.nb.html

All the functions that actually run the model and process the parameters are in the code/functions.R file

If you want to run the code to produce the same outputs as Shiny but without dealing with the app structure, you can use the R scripts

  • runSpread.R
  • runInterventions.R
  • runCapacity.R

When trying out new model structures or plots, it is much easier to work with scripts instead of directly with the app. Once troubleshooting is done, it can be integrated with the app

There is also a Python notebook simulating the same model (.ipynb)

You can use this page to report issues you find with the app

Developers: No pull requests will be accepted from this repository, which is only for sharing the stable code used in the app. If you are contributing to this project please use the developmental repository https://github.com/alsnhll/SEIR_COVID19_Dev

Caution: This model is still a work in progress and will be updated over the next few days.

About

SEIR model for COVID-19 infection, including different clinical trajectories of infection

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 77.9%
  • Jupyter Notebook 18.0%
  • R 3.3%
  • TeX 0.8%