HD Schlaganfall ohne Tumor oder Kopfverletzung, Alter 65-84, Mortalität

B1_04_M(x)

Arguments

x

ein tibble (siehe Format des Rückgabewertes von read.bfs)

Alias

09_13

Kapitel

B1-Schlaganfall

Gruppe

B-Erkrankungen des Nervensystems, Schlaganfall (Stroke)

Typ

Mortalität

Spezifikation

B1_04_M <- function(x){ x %>%
mutate( i = if_else((pdx %in_table% (ICD_Schlaganfall_alle) &
sdx %not_in_table% (ICD_ADSR_ex) &
ageyears>=65 &
ageyears<85),
if_else((F_Tot), 2, 1), as.double(NA))) %>%
output_table_perc('B1_04_M') }

Examples

if (FALSE)  read.bfs(path2file) %>% iqi.functions() %>% B1_04_M()  # \dontrun{}