View source: R/histgroups_iarc.R
histgroup_iarc | R Documentation |
Create variable for groups of malignant neoplasms considered to be histologically 'different' for the purpose of defining multiple tumors, ICD-O-3
histgroup_iarc(df, hist_var, new_var_hist = t_histgroupiarc, version = "3.1")
df |
dataframe in long or wide format |
hist_var |
variable in df that contains first 4 digits of tumor histology (without behavior) |
new_var_hist |
Name of the newly calculated variable for histology groups. Default is t_histgroupiarc. |
version |
Version of ICD-O-3 classification used. Can be either "3.0" for 2000 publication, "3.1" for 2013 first revision or "3.2" for 2019 second revision.
Default is |
df
#load sample data
data("us_second_cancer")
us_second_cancer %>%
msSPChelpR::histgroup_iarc(., hist_var = t_hist) %>%
dplyr::select(fake_id, t_hist, t_histgroupiarc)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.