Description Usage Format See Also Examples
Provides lookup tables for use with smoking relative risks / attributable fractions analyses.
1 |
data frame with 1,335 rows and 2 fields
1 2 3 4 | Observations: 1,335
Variables: 2
$ condition_uid <int> 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2,...
$ icd10 <chr> "C330", "C331", "C332", "C333", "C334", "C335", "C336", "C337", "C338", "C339", "C33X", "...
|
Other smoking datasets: sa_conditions
,
sa_relrisk
, smoking_datasets
,
sp
1 2 3 4 5 6 7 8 9 10 | if (all(sapply(c("dplyr", "reshape2"), isNamespaceLoaded))) {
require("dplyr")
require("reshape2")
aafractions.ncc::lu_sac_icd10 %>%
merge(aafractions.ncc::sa_conditions, by = "condition_uid", allow.cartesian = TRUE) %>%
dcast(... ~ version, value.var = "condition_uid", fun = paste, collapse = "|") %>%
arrange(icd10) %>%
head(16)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.