Nenner Anteil Verlegungen bei HD Schlaganfall ohne Tumor oder Kopfverletzung (Alter >19)

B1_01_VN(x)

Arguments

x

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

Alias

A_27_N

Kapitel

B1-Schlaganfall

Gruppe

B-Erkrankungen des Nervensystems, Schlaganfall (Stroke)

Typ

Verlegungen

Spezifikation

B1_01_VN <- function(x){ x %>%
mutate( i = if_else((pdx %in_table% (ICD_Schlaganfall_alle) &
ageyears>19 &
!F_Tot),
if_else((F_Verlegung), 2, 1), as.double(NA))) %>%
output_table_cnt('B1_01_VN') }

Examples

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