Skip to content

jarib/spread

 
 

Repository files navigation

spread

An R package that contains different infectious disease spread models.

Currently we have implemented commuter model. This model is a stochastic SEIIaR (susceptible, exposed, infectious, infectious asymptomatic, recovered) metapopulation model that including commuting. Each location has a local infection system, while the locations are connected by people who commute each day. The model differentiates between day and night. During the day you can infect/be infected in the location where you work, while during the night you can infect/be infected in the location where you live. It is the same commuters who travel back and forth each day. At the start of a day, all commuters are sent to their work location, where they mix for 12 hours. The commuters are then sent to their respective home locations, where they mix for 12 hours. The model is based upon a published model.

fhiverse

The fhiverse is a set of R packages developed by the Norwegian Institute of Public Health to help solve problems relating to:

  • structural data in Norway (e.g. maps, population, redistricting)
  • convenience functions for Norwegian researchers (e.g. Norwgian formatting, Norwegian characters)
  • analysis planning (especially for making graphs/tables for reports)
  • file structures in projects
  • styleguides/recommendations for FHI employees

If you want to install the dev versions (or access packages that haven't been released on CRAN), run usethis::edit_r_profile() to edit your .Rprofile. Then write in:

options(repos=structure(c(
  FHI="https://folkehelseinstituttet.github.io/drat/",
  CRAN="https://cran.rstudio.com"
)))

Save the file and restart R. This will allow you to install fhiverse packages from the FHI registry.

Current fhiverse packages are:

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 81.5%
  • R 17.3%
  • Shell 1.1%
  • C 0.1%