individual: 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.

Version: 0.1.9
Imports: R6, Rcpp
LinkingTo: Rcpp, testthat
Suggests: ggplot2, knitr, mockery, rmarkdown, pkgdown, testthat (≥ 2.1.0), xml2, bench
Published: 2022-07-15
Author: Giovanni Charles ORCID iD [aut, cre], Sean L. Wu ORCID iD [aut], Peter Winskill ORCID iD [aut], Imperial College of Science, Technology and Medicine [cph]
Maintainer: Giovanni Charles <giovanni.charles at>
License: MIT + file LICENSE
NeedsCompilation: yes
Citation: individual citation info
Materials: README NEWS
CRAN checks: individual results


Reference manual: individual.pdf
Vignettes: API
Changing population


Package source: individual_0.1.9.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): individual_0.1.9.tgz, r-oldrel (arm64): individual_0.1.9.tgz, r-release (x86_64): individual_0.1.9.tgz, r-oldrel (x86_64): individual_0.1.9.tgz
Old sources: individual archive


Please use the canonical form to link to this page.