/GI

R package to calculate generation interval distributions

Primary LanguageRMIT LicenseMIT

GI

R package to calculate generation interval distributions and fit epidemiological models to contact tracing data.

See [1] for theoretical framework.

To install:

  • if necessary: install.packages(devtools)
  • library(devtools) ; install_github("davidchampredon/GI", build_vignettes = TRUE, force=TRUE)

Vignette: vignette("GI-vignette")

Reference:

[1] Champredon D, Dushoff J. Intrinsic and realized generation intervals in infectious-disease transmission. Proceedings of the Royal Society B: Biological Sciences 2015; 282: 20152026.