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.

Package details

AuthorGiovanni Charles [aut, cre] (<https://orcid.org/0000-0002-7024-1200>), Sean L. Wu [aut] (<https://orcid.org/0000-0002-5781-9493>), Peter Winskill [aut] (<https://orcid.org/0000-0003-3001-4959>), Imperial College of Science, Technology and Medicine [cph]
MaintainerGiovanni Charles <giovanni.charles@gmail.com>
LicenseMIT + file LICENSE
Version0.1.7
URL https://github.com/mrc-ide/individual https://mrc-ide.github.io/individual/
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("individual")

Try the individual package in your browser

Any scripts or data that you put into this service are public.

individual documentation built on Oct. 25, 2021, 9:09 a.m.