SimInf

A Framework for Data-Driven Stochastic Disease Spread Simulations

CRAN Package

Provides an efficient and very flexible framework to conduct data-driven epidemiological modeling in realistic large scale disease spread simulations. The framework integrates infection dynamics in subpopulations as continuous-time Markov chains using the Gillespie stochastic simulation algorithm and incorporates available data such as births, deaths and movements as scheduled events at predefined time-points. Using C code for the numerical solvers and 'OpenMP' (if available) to divide work over multiple processors ensures high performance when simulating a sample outcome. One of our design goals was to make the package extendable and enable usage of the numerical solvers from other R extension packages in order to facilitate complex epidemiological research. The package contains template models and can be extended with user-defined models. For more details see the paper by Widgren, Bauer, Eriksson and Engblom (2019) doi:10.18637/jss.v091.i12. The package also provides functionality to fit models to time series data using the Approximate Bayesian Computation Sequential Monte Carlo ('ABC-SMC') algorithm of Toni and others (2009) doi:10.1098/rsif.2008.0172.


Documentation


Team


Insights

Last 30 days

This package has been downloaded 445 times in the last 30 days. Now we're getting somewhere! Enough downloads to populate a lively group chat. The following heatmap shows the distribution of downloads per day. Yesterday, it was downloaded 10 times.

Sun
Mon
Tue
Wed
Thu
Fri
Sat
0 downloadsMar 9, 2025
0 downloadsMar 10, 2025
25 downloadsMar 11, 2025
25 downloadsMar 12, 2025
17 downloadsMar 13, 2025
4 downloadsMar 14, 2025
62 downloadsMar 15, 2025
4 downloadsMar 16, 2025
4 downloadsMar 17, 2025
13 downloadsMar 18, 2025
13 downloadsMar 19, 2025
18 downloadsMar 20, 2025
26 downloadsMar 21, 2025
47 downloadsMar 22, 2025
3 downloadsMar 23, 2025
11 downloadsMar 24, 2025
4 downloadsMar 25, 2025
8 downloadsMar 26, 2025
6 downloadsMar 27, 2025
70 downloadsMar 28, 2025
0 downloadsMar 29, 2025
3 downloadsMar 30, 2025
4 downloadsMar 31, 2025
13 downloadsApr 1, 2025
8 downloadsApr 2, 2025
5 downloadsApr 3, 2025
5 downloadsApr 4, 2025
10 downloadsApr 5, 2025
6 downloadsApr 6, 2025
17 downloadsApr 7, 2025
4 downloadsApr 8, 2025
10 downloadsApr 9, 2025
0 downloadsApr 10, 2025
0 downloadsApr 11, 2025
0 downloadsApr 12, 2025
0
70

The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.

Last 365 days

This package has been downloaded 7,660 times in the last 365 days. Impressive! The kind of number that makes colleagues ask, 'How did you do it?' The day with the most downloads was Jun 19, 2024 with 113 downloads.

The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.

Data provided by CRAN


Binaries


Dependencies

  • Imports3 packages
  • Suggests2 packages