Prüft die Spezifikation gegen jeden Fall in einem tibble und fügt eine logische Spalte mit dem Ergebniss hinzu.

F_ICU(x)

Arguments

x

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

Value

wahr oder falsch

Spezifikation

F_ICU <- function(x){ x %>%
mutate(F_ICU =
(hmv>0 |
losicu>0 |
srg %in_table% (CHOP_ICU)) ) }

Examples

if (FALSE)  read.bfs(path2file) %>% F_ICU()  # \dontrun{}