rkiGeschlechtToSex {babsim.hospital}R Documentation

Map Geschlecht to biological sex

Description

Map Geschlecht to biological sex

Usage

rkiGeschlechtToSex(geschlecht)

Arguments

geschlecht

[character(n)]
character vector with values in ‘M’, ‘W’, and ‘unbekannt’.

Value

A factor vector with n elements and levels ‘male’ or ‘female’. ‘unbekannt’ or other values are mapped to NA.


[Package babsim.hospital version 11.8.4 Index]