Learn R Programming

microsimulation (version 1.4.5)

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

Description

Discrete event simulation using both R and C++ (Karlsson et al 2016; ). The C++ code is adapted from the SSIM library , 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.

Copy Link

Version

Install

install.packages('microsimulation')

Monthly Downloads

670

Version

1.4.5

License

GPL (>= 3)

Issues

Pull Requests

Stars

Forks

Maintainer

Mark Clements

Last Published

September 26th, 2025

Functions in microsimulation (1.4.5)

simulate.survreg

Simulate event times from a survreg object
pqueue

S3 priority queue implementation using C++
callCalibrationPerson

call CalibrationPerson example
pqueue__new

C++ function
.microsimulationLdFlags

Internal function
microsimulation-package

microsimulation
summary.SummaryReport

summary method for a SummaryReport object
RNGStream

S3 class to work with RngStream objects
fhcrcData

Old data used in the prostata model
discountedInterval

Integrate a discounted value