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

F_Sex(x)

Arguments

x

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

Value

wahr oder falsch

Spezifikation

F_Sex <- function(x){ x %>%
mutate(F_Sex =
(sex %in% c("2","F", "W")) ) }

Examples

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