Crandore Hub

SimInf

A Framework for Data-Driven Stochastic Disease Spread Simulations

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> or the Particle Markov Chain Monte Carlo ('PMCMC') algorithm of 'Andrieu' and others (2010) <doi:10.1111/j.1467-9868.2009.00736.x>.

Versions across snapshots

VersionRepositoryFileSize
10.1.0 rolling linux/jammy R-4.5 SimInf_10.1.0.tar.gz 3.2 MiB
10.1.0 rolling linux/noble R-4.5 SimInf_10.1.0.tar.gz 3.2 MiB
10.1.0 rolling source/ R- SimInf_10.1.0.tar.gz 2.7 MiB
10.1.0 latest linux/jammy R-4.5 SimInf_10.1.0.tar.gz 3.2 MiB
10.1.0 latest linux/noble R-4.5 SimInf_10.1.0.tar.gz 3.2 MiB
10.1.0 latest source/ R- SimInf_10.1.0.tar.gz 2.7 MiB
10.1.0 2026-04-26 source/ R- SimInf_10.1.0.tar.gz 2.7 MiB
10.1.0 2026-04-23 source/ R- SimInf_10.1.0.tar.gz 2.7 MiB
10.1.0 2026-04-09 windows/windows R-4.5 SimInf_10.1.0.zip 3.5 MiB
9.8.1 2025-04-20 source/ R- SimInf_9.8.1.tar.gz 2.6 MiB

Dependencies (latest)

Imports

Suggests