Description Usage Format See Also Examples
Provides lookup tables for use with smoking attributable fractions analyses.
1 |
data frame with 1,016 rows and 8 fields
1 2 3 4 5 6 7 8 9 10 | Observations: 1,016
Variables: 8
$ age <fct> 35 - 54, 35 - 54, 35 - 54, 35 - 54, 35 - 54, 35 - 54, 35 - 54, 35 - 54, 35 - 54, 35 - 54...
$ condition_uid <int> 16, 16, 16, 16, 16, 16, 16, 16, 18, 18, 18, 18, 18, 18, 18, 18, 14, 14, 14, 14, 14, 14, ...
$ sex <chr> "men", "men", "men", "men", "women", "women", "women", "women", "men", "men", "men", "me...
$ smoking_status <chr> "current", "current", "ex", "ex", "current", "current", "ex", "ex", "current", "current"...
$ ab_sa_explode <chr> "35 - 44", "45 - 54", "35 - 44", "45 - 54", "35 - 44", "45 - 54", "35 - 44", "45 - 54", ...
$ analysis_type <chr> "morbidity", "morbidity", "morbidity", "morbidity", "morbidity", "morbidity", "morbidity...
$ srr <dbl> 4.20, 4.20, 2.00, 2.00, 5.30, 5.30, 2.60, 2.60, 4.40, 4.40, 1.10, 1.10, 5.40, 5.40, 1.30...
$ version <chr> "nhsd_ss_2018", "nhsd_ss_2018", "nhsd_ss_2018", "nhsd_ss_2018", "nhsd_ss_2018", "nhsd_ss...#'
|
Other smoking datasets: lu_sac_icd10
,
sa_conditions
,
smoking_datasets
, sp
1 2 3 4 5 6 7 8 | if (isNamespaceLoaded("dplyr")) {
require("dplyr")
aafractions.ncc::sa_relrisk %>%
mutate_if(is.character, as.factor) %>%
select(-starts_with("condition_")) %>%
summary(16)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.