golden: Framework for Patient-Level Microsimulation of Risk Factor Trajectories & Hazard-Based Events

Fast, flexible, patient-level microsimulation. Time-stepped simulation with a 'C++' back-end from user-supplied initial population, trajectories, hazards, and corresponding event transitions. User-defined aggregate time series histories are returned together with the final population. Designed for simulation of chronic diseases with continuous and evolving risk factors, but could easily be applied more generally.

Version: 0.0.1
Depends: R (≥ 3.5)
Imports: Rcpp (≥ 1.1.0), data.table
LinkingTo: Rcpp
Suggests: testthat (≥ 3.0.0), SciViews, knitr, rmarkdown, ggplot2
Published: 2026-03-16
DOI: 10.32614/CRAN.package.golden (may not be active yet)
Author: Pete Dodd ORCID iD [aut, cre], Robert Chisholm ORCID iD [aut], University of Sheffield [cph], Horizon Europe [fnd]
Maintainer: Pete Dodd <p.j.dodd at sheffield.ac.uk>
License: MIT + file LICENSE
NeedsCompilation: yes
Materials: README
CRAN checks: golden results

Documentation:

Reference manual: golden.html , golden.pdf
Vignettes: getting-started (source, R code)

Downloads:

Package source: golden_0.0.1.tar.gz
Windows binaries: r-devel: golden_0.0.1.zip, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): golden_0.0.1.tgz, r-release (x86_64): not available, r-oldrel (x86_64): not available

Linking:

Please use the canonical form https://CRAN.R-project.org/package=golden to link to this page.