Skip to content

microsimulation

1.4.5

Discrete Event Simulation in R and C++, with Tools for Cost-Effectiveness Analysis

0packages depend
4.1Kdownloads / year
test coverage
13/13checks pass

Overview

About
Maintained by Mark ClementsFirst published 2021-03-2010 releasesCRAN page ↗GitHub ↗

Discrete event simulation using both R and C++ (Karlsson et al 2016; doi:10.1109/eScience.2016.7870915). The C++ code is adapted from the SSIM library https://www.inf.usi.ch/carzaniga/ssim/, allowing for event-oriented simulation. The code includes a SummaryReport class for reporting events and costs by age and other covariates. The C++ code is available as a static library for linking to other packages. A priority queue implementation is given in C++ together with an S3 closure and a reference class implementation. Finally, some tools are provided for cost-effectiveness analysis.

Install

Health

CRAN checks
13OK
Slowest check: 5.6 min · r-devel-windows-x86_64
Code health
None
Tests · ratio 0.00
not tracked
Coverage
100%
Documentation · exports
6
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-04-25
    12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-04-22
    11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-18
    10 OK · 3 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
Show 1 earlier snapshots
  • NOTE2026-03-10
    11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesNopkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
100%
References docs
10%

Downloads

4.1K
CRAN downloads in the past year
Rank #7,004 · ~11/day · ~339/mo
Daily download trend is not available in this view yet.
36330 days
1.2K90 days
4.1K1 year
Compare downloads with other packages →
Also on405 r2u25 autocran

Repository

Repository
44Stars
10Forks
3Open issues
0Open PRs
1Releases
481Commits
7Contributors
cppdiscrete-event-simulationrhealth-economics
481 commits · Last activity 2026-02-27 · +2.3% stars, 30d

Stars over time

2025-07-31 · 412026-08-14 · 44

Repository practices

Upstream repositoryBeta

1 development-tooling and community-health practice detected across 1 family in the upstream repository

Checks run against github.com/mclements/microsimulation on 2026-08-16.

Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
5 external dependencies (excludes base and recommended)
Depends (2)
Rcppmethods
Imports (4)
parallelgrDevicesasciisurvival
LinkingTo (2)
Suggests (1)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Datasets

People & History

People (6)
Maintainer (1)
Author, Maintainer, Copyright holder
Authors (3)
Author, Maintainer, Copyright holder
Copyright holders (4)
Author, Maintainer, Copyright holder
Copyright holder
Copyright holder
Copyright holder
Package Timeline

10 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.4.5Latest
    2025-09-26 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 1.4.4
    2024-08-19 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 1.4.3
    2023-07-19 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 1.4.2
    2023-03-08 · diff ↗
  • 1.4.1
    2022-10-18 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 1.3.7
    2022-04-04 · diff ↗
  • 1.3.6
    2021-11-16 · diff ↗
  • 1.3.5
    2021-07-15 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 1.3.4
    2021-03-21 · diff ↗
  • 1.3.3
    2021-03-20
Show 1 earlier events
  • R
    R 4.0.0 released · 2020-04-24

Package metadata

First published
2021-03-20
Total releases
10 / 5 yrs
License
GPL (>= 3) OSI
Bundled data
298 KB / 1 file
Download size
2.3 MB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("microsimulation")
Clements, M., University of Colorado, Carzaniga, A., Jauhiainen, A., Karlsson, A., & L'Ecuyer, P. (2025). microsimulation: Discrete Event Simulation in R and C++, with Tools for Cost-Effectiveness Analysis (Version 1.4.5) [Computer software]. https://doi.org/10.32614/CRAN.package.microsimulation

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for microsimulation version 1.4.5 [Data set]. HJJB, LLC. Data release v2026-08-22. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-22, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy