Crandore Hub

SmokingHistoryGenerator

R Package for the Smoking History Generator

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>.

Versions across snapshots

VersionRepositoryFileSize
6.5.3-1.0.1 rolling linux/jammy R-4.5 SmokingHistoryGenerator_6.5.3-1.0.1.tar.gz 460.3 KiB
6.5.3-1.0.1 rolling linux/noble R-4.5 SmokingHistoryGenerator_6.5.3-1.0.1.tar.gz 467.4 KiB
6.5.3-1.0.1 rolling source/ R- SmokingHistoryGenerator_6.5.3-1.0.1.tar.gz 384.4 KiB
6.5.3-1.0.1 latest linux/jammy R-4.5 SmokingHistoryGenerator_6.5.3-1.0.1.tar.gz 460.3 KiB
6.5.3-1.0.1 latest linux/noble R-4.5 SmokingHistoryGenerator_6.5.3-1.0.1.tar.gz 467.4 KiB
6.5.3-1.0.1 latest source/ R- SmokingHistoryGenerator_6.5.3-1.0.1.tar.gz 384.4 KiB
6.5.3-1.0.1 2026-04-23 source/ R- SmokingHistoryGenerator_6.5.3-1.0.1.tar.gz 0 B

Dependencies (latest)

Imports

LinkingTo

Suggests