B1_03_M.RdHD Schlaganfall ohne Tumor oder Kopfverletzung, Alter 45-64, Mortalität
B1_03_M(x)ein tibble (siehe Format des Rückgabewertes von read.bfs)
09_12
B1-Schlaganfall
B-Erkrankungen des Nervensystems, Schlaganfall (Stroke)
Mortalität
B1_03_M <- function(x){ x %>%
mutate( i = if_else((pdx %in_table% (ICD_Schlaganfall_alle) &
sdx %not_in_table% (ICD_ADSR_ex) &
ageyears>=45 &
ageyears<65),
if_else((F_Tot), 2, 1), as.double(NA))) %>%
output_table_perc('B1_03_M') }
if (FALSE) read.bfs(path2file) %>% iqi.functions() %>% B1_03_M() # \dontrun{}