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.4
Depends: R (≥ 3.5)
Imports: Rcpp (≥ 1.1.0), data.table
LinkingTo: Rcpp
Suggests: testthat (≥ 3.0.0), SciViews, knitr, rmarkdown, ggplot2
Published: 2026-08-24
DOI: 10.32614/CRAN.package.golden
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
CRAN checks: golden results

Documentation:

Reference manual: golden.html , golden.pdf
Vignettes: Getting Started (source, R code)

Downloads:

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

Linking:

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