Package: SmokingHistoryGenerator 7.0.0

John Clarke

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

Authors:John Clarke [aut, cre], Ben Racine [aut], Martin Krapcho [aut], Alexander Gaenko [aut], Makoto Matsumoto [ctb, cph], Takuji Nishimura [ctb, cph], Pierre L'Ecuyer [ctb, cph]

SmokingHistoryGenerator_7.0.0.tar.gz
SmokingHistoryGenerator_7.0.0.zip(r-4.7-x86_64)SmokingHistoryGenerator_7.0.0.zip(r-4.7-arm64)SmokingHistoryGenerator_7.0.0.zip(r-4.6-x86_64)SmokingHistoryGenerator_7.0.0.zip(r-4.6-arm64)SmokingHistoryGenerator_7.0.0.zip(r-4.5-x86_64)
SmokingHistoryGenerator_7.0.0.tgz(r-4.6-x86_64)SmokingHistoryGenerator_7.0.0.tgz(r-4.6-arm64)SmokingHistoryGenerator_7.0.0.tgz(r-4.5-x86_64)SmokingHistoryGenerator_7.0.0.tgz(r-4.5-arm64)
SmokingHistoryGenerator_7.0.0.tar.gz(r-4.7-arm64)SmokingHistoryGenerator_7.0.0.tar.gz(r-4.7-x86_64)SmokingHistoryGenerator_7.0.0.tar.gz(r-4.6-arm64)SmokingHistoryGenerator_7.0.0.tar.gz(r-4.6-x86_64)
SmokingHistoryGenerator_7.0.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
SmokingHistoryGenerator/json (API)

# Install 'SmokingHistoryGenerator' in R:
install.packages('SmokingHistoryGenerator', repos = c('https://nci-cisnet.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/nci-cisnet/shg-r/issues

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

Conda:

shgcpp

4.60 score 22 scripts 185 downloads 14 exports 2 dependencies

Last updated from:add4ae9373. Checks:15 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK100
linux-devel-x86_64OK129
source / vignettesOK250
linux-release-arm64OK103
linux-release-x86_64OK118
macos-release-arm64OK127
macos-release-x86_64OK377
macos-oldrel-arm64OK127
macos-oldrel-x86_64OK470
windows-devel-arm64OK372
windows-devel-x86_64OK162
windows-release-arm64OK363
windows-release-x86_64OK123
windows-oldrel-x86_64OK135
wasm-releaseOK91

Exports:clear_params_cacheshg_apply_configshg_clear_params_cacheshg_config_bundleshg_load_configshg_load_paramsshg_params_cache_dirshg_params_summaryshg_reset_defaultsshg_runshg_save_configshg_use_config_bundleshg_write_config_yamlSHGInterface

Dependencies:Rcppyaml