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)SmokingHistoryGenerator_7.0.0.zip(r-4.6)SmokingHistoryGenerator_7.0.0.zip(r-4.5)
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
card.svg |card.png
SmokingHistoryGenerator/json (API)
NEWS

# 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.64 score 22 scripts 134 downloads 14 exports 2 dependencies

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

TargetResultTimeFilesSyslog
linux-devel-arm64OK152
linux-devel-x86_64OK139
source / vignettesOK178
linux-release-arm64OK130
linux-release-x86_64OK127
macos-release-arm64OK132
macos-release-x86_64OK295
macos-oldrel-arm64OK102
macos-oldrel-x86_64OK170
windows-develOK131
windows-releaseOK158
windows-oldrelOK124
wasm-releaseOK102

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