Package: SmokingHistoryGenerator 6.5.3-1.0.1

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_6.5.3-1.0.1.tar.gz
SmokingHistoryGenerator_6.5.3-1.0.1.tar.gz(r-4.7-arm64)SmokingHistoryGenerator_6.5.3-1.0.1.tar.gz(r-4.7-x86_64)SmokingHistoryGenerator_6.5.3-1.0.1.tar.gz(r-4.6-arm64)SmokingHistoryGenerator_6.5.3-1.0.1.tar.gz(r-4.6-x86_64)
SmokingHistoryGenerator_6.5.3-1.0.1.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://cran.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:

cpp

2.16 score 29 scripts 14 exports 2 dependencies

Last updated from:7f5039e5a9. Checks:6 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK125
linux-devel-x86_64OK141
source / vignettesOK207
linux-release-arm64OK184
linux-release-x86_64OK145
wasm-releaseOK128

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