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 |
|
---|---|
Author | Giovanni 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] |
Maintainer | Giovanni Charles <giovanni.charles@gmail.com> |
License | MIT + file LICENSE |
Version | 0.1.9 |
URL | https://github.com/mrc-ide/individual https://mrc-ide.github.io/individual/ |
Package repository | View on CRAN |
Installation |
Install the latest version of this package by entering the following in R:
|
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.