Framework for Specifying and Simulating Individual Based Models

A framework which provides users a set of useful primitive elements for specifying individual based simulation models, with special attention models for infectious disease epidemiology. Users build models by specifying variables for each characteristic of individuals in the simulated population by using data structures exposed by the package. The package provides efficient methods for finding subsets of individuals based on these variables, or cohorts. Cohorts can then be targeted for variable updates or scheduled for events. Variable updates queued during a time step are executed at the end of a discrete time step, and the code places no restrictions on how individuals are allowed to interact. These data structures are designed to provide an intuitive way for users to turn their conceptual model of a system into executable code, which is fast and memory efficient.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.1.7 by Giovanni Charles, 3 months ago,

Report a bug at

Browse source code at

Authors: Giovanni Charles [aut, cre] , Sean L. Wu [aut] , Peter Winskill [aut] , Imperial College of Science , Technology and Medicine [cph]

Documentation:   PDF Manual  

MIT + file LICENSE license

Imports R6, Rcpp

Suggests ggplot2, knitr, mockery, rmarkdown, pkgdown, testthat, xml2, bench

Linking to Rcpp, testthat

See at CRAN