Individual Based Model Population Simulation
Overview
Simulation of the random evolution of heterogeneous populations using stochastic Individual-Based Models (IBMs) doi:10.48550/arXiv.2303.06183. The package enables users to simulate population evolution, in which individuals are characterized by their age and some characteristics, and the population is modified by different types of events, including births/arrivals, death/exit events, or changes of characteristics. The frequency at which an event can occur to an individual can depend on their age and characteristics, but also on the characteristics of other individuals (interactions). Such models have a wide range of applications. For instance, IBMs can be used for simulating the evolution of a heterogeneous insurance portfolio with selection or for validating mortality forecasts. This package overcomes the limitations of time-consuming IBMs simulations by implementing new efficient algorithms based on thinning methods, which are compiled using the 'Rcpp' package while providing a user-friendly interface.
New features
- Stop simulation when the population is extinct, unless there are entry events
- Remove const from pop and I in intensity function template. The intensity function can modify the population and the individual.
- Change name of roxygen directives file, for having package documentation available in command line
Minor changes
- Remove dependency on demography in insurance portfolio vignette
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK12 OK2026-04-25
- NOTE12 OK, 2 NOTE2026-04-22
- ERROR11 OK, 2 NOTE, 1 ERROR2026-04-18
Show 1 earlier changeHide 1 earlier change
- NOTE12 OK, 2 NOTE2026-03-10
Documentation
- Help pages
- 75 (24 internal)includes a package overview page
- Examples that run
- 86%12 run in a plain check · 2 only when donttest examples are enabled (R CMD check --as-cran)
- Exported functions with examples
- 32%
- Documented parameters
- 96%
- Return-value docs
- 71%
- Help pages citing references
- 0%
Downloads
Repository
Stars over time
Forks over time
Checks run against github.com/daphnegiorgi/ibmpopsim on 2026-10-21.
No development-tooling practices detected in the upstream repository.
Dependencies
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- 1.1.0Latest
- RR 4.4.0 released · 2024-04-24
- 1.0.02024-02-09 · diff ↗ ·
removed 2 exports
plot_population, plot_pyramidadded 5 exports
add_characteristic, compatibility_chars_events, compatibility_pop_model, population, pyramid - RR 4.3.0 released · 2023-04-21
- 0.4.32023-01-07 · diff ↗ ·
added 4 exports
check_intensity_code, check_interaction_code, check_kernel_code, pattern:^[[:alpha:]]+ - RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- 0.3.12020-11-10 · diff ↗
- 0.3.02020-10-17
- RR 4.0.0 released · 2020-04-24
Package metadata
- First published
- 2020-10-17
- Total releases
- 5 / 6 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 3.5.0
- Bundled data
- 1.6 MB / 5 files
- Download size
- 5.0 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("IBMPopSim")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.