Package: epichains 0.1.1.9000

James M. Azam

epichains: Simulating and Analysing Transmission Chain Statistics Using Branching Process Models

Provides methods to simulate and analyse the size and length of branching processes with an arbitrary offspring distribution. These can be used, for example, to analyse the distribution of chain sizes or length of infectious disease outbreaks, as discussed in Farrington et al. (2003) <doi:10.1093/biostatistics/4.2.279>.

Authors:James M. Azam [aut, cre, cph], Sebastian Funk [aut, cph], Flavio Finger [aut], Zhian N. Kamvar [ctb], Hugo Gruson [ctb, rev], Karim Mané [rev], Pratik Gupte [rev], Joshua W. Lambert [rev], Chris Hartgerink [ctb]

epichains_0.1.1.9000.tar.gz
epichains_0.1.1.9000.zip(r-4.7-any)epichains_0.1.1.9000.zip(r-4.6-any)epichains_0.1.1.9000.zip(r-4.5-any)
epichains_0.1.1.9000.tgz(r-4.6-any)epichains_0.1.1.9000.tgz(r-4.5-any)
epichains_0.1.1.9000.tar.gz(r-4.7-any)epichains_0.1.1.9000.tar.gz(r-4.6-any)
epichains_0.1.1.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
epichains/json (API)

# Install 'epichains' in R:
install.packages('epichains', repos = c('https://epiverse-trace.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/epiverse-trace/epichains/issues

Pkgdown/docs site:https://epiverse-trace.github.io

Datasets:
  • covid19_sa - COVID-19 Confirmed Cases Data for South Africa

On CRAN:

Conda:

branching-processesepidemic-dynamicsepidemic-modellingepidemic-simulationsepidemiologyepidemiology-modelsoutbreak-simulatortransmission-chaintransmission-chain-reconstruction

7.36 score 10 stars 419 downloads 6 exports 2 dependencies

Last updated from:4750626599. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK121
source / vignettesOK192
linux-releaseOK116
macos-releaseOK111
macos-oldrelOK97
windows-develOK75
windows-releaseOK71
windows-oldrelOK80
wasm-releaseOK108

Exports:dborellikelihoodrborelrgborelsimulate_chain_statssimulate_chains

Dependencies:backportscheckmate

Projecting infectious disease incidence: a COVID-19 example
Overview | Data | Setting up the inputs | Onset times | Generation time | Offspring distribution | Simulation controls | Modelling assumptions | Running the simulations | Post-processing | Visualization | References

Last update: 2026-08-19
Started: 2023-03-06

Getting started with epichains
Transmission chains likelihoods | Use case | What we have | What we assume | likelihood() | Joint and individual log-likelihoods | Observation probability | How likelihood() works | Transmission chain simulation | simulate_chains() | simulate_chain_stats() | S3 Methods | Summarising | Aggregating | Plotting | Some notes about interoperability between and objects | References

Last update: 2026-08-18
Started: 2023-09-02

Modelling disease control interventions
Reducing the strength of transmission | Population-wide control | Individual-level control. | Preventing superspreading events | Truncating the generation interval | References

Last update: 2026-08-18
Started: 2023-11-10

Theoretical background for epichains
Branching processes | Simulation | Summary statistics | Inference | Size and length distributions for some offspring distributions | Negative binomial and special cases | Size distributions | Length distributions | Gamma-Borel mixture | Numerical approximations of chain size and length distributions | References

Last update: 2025-08-29
Started: 2023-09-25

Design Principles for {epichains}
Scope | Design decisions | Simulation functions | likelihood estimation | Naming and documentation style | Dependencies | Development journey

Last update: 2024-10-17
Started: 2024-05-15

Literature on branching process applications
Bibliography

Last update: 2024-06-21
Started: 2023-09-25