SmokingHistoryGenerator
7.0.0R Package for the Smoking History Generator
Overview
Efficient R interface to the Cancer Intervention and Surveillance Modeling Network (CISNET) Smoking History Generator microsimulation engine, which synthesizes individual smoking histories (initiation, cessation, intensity) and ages at death from calibrated initiation, cessation, cigarettes-per-day, and mortality tables. The wrapper exposes fixed-cohort and population data-frame simulation, multi-threaded segmentation, reproducible pseudo-random streams (L'Ecuyer RngStream MRG32k3a or Matsumoto--Nishimura Mersenne Twister), legacy CLI-style configuration files, and portable YAML configuration save/load with optional split smoking and mortality parameter bundles. Methods follow Jeon et al. (2012) doi:10.1111/j.1539-6924.2011.01775.x. Random number generators: Matsumoto and Nishimura (1998) doi:10.1145/272991.272995; L'Ecuyer (1999) doi:10.1287/opre.47.1.159; L'Ecuyer et al. (2002) doi:10.1287/opre.50.6.1073.358.
Install
Health
- NOTE r-devel-linux-x86_64-debian-clang
- NOTE r-devel-linux-x86_64-debian-gcc
- NOTE2026-07-1112 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- OK2026-06-136 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- References docs
- 9%
Downloads
Repository
Releases over time
PRs over time
Repository practices
6 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/nci-cisnet/shg-r on 2026-08-02.
Dependencies
Nothing depends on this yet.
Code & Tests
People & History
2 releases. Pick two to compare their code metrics. R releases are shown for context.
- 7.0.0Latest
- 6.5.3-1.0.12026-06-13
- RR 4.6.0 released · 2026-04-24
Package metadata
- First published
- 2026-06-13
- Total releases
- 2 / 1 yrs
- License
- GPL-3 OSI
- Download size
- not tracked yet
- Installed size
- not tracked yet
- With dependencies
- not tracked yet