F_Kolonresektion.Rd
Vérifie la spécification par rapport à chaque rencontre dans un tibble et ajoute une colonne logique avec le résultat.
F_Kolonresektion(x)
un tibble
(voir le format de la valeur de retour de read.bfs)
vrai ou faux
F_Kolonresektion <- function(x){ x %>%
mutate(F_Kolonresektion =
( (srg %in_table% (CHOP_Kolonresektion_erweitert_total) |
srg %in_table% (CHOP_Kolonresektion_partiell)) |
(srg %in_table% (CHOP_Rektumresektion_Sphinktererh) &
srg %not_in_table% (CHOP_Rektumresektion_ohne_Sphinktererh) &
ddx %not_in_table% (ICD_Rektumkarzinom))) ) }
if (FALSE) read.bfs(path2file) %>% F_Kolonresektion() # \dontrun{}