View source: R/params_summary.R
| shg_params_summary | R Documentation |
Returns a compact "shape" summary of the currently configured parameter files
(races, sexes, cohorts, age ranges, and CPD coverage). This works after
either shg_load_params() or manual file-path configuration on an
SHGInterface instance.
shg_params_summary(shg)
shg |
An |
A named list with nested sections initiation,
cessation, mortality, and cpd, plus
top-level dimensions/cohort metadata for convenience.
The cpd$note field summarizes whether initiation rows below the
CPD minimum age are effectively ignorable (all zeros and/or dots), or if
there are non-zero initiation values that may indicate a mismatch.
shg <- new(SHGInterface)
shg$input_data_folder <- system.file("extdata", "2018", package = "SmokingHistoryGenerator")
shg_params_summary(shg)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.