gender {cprr} | R Documentation |
Gender
Description
Calculate genders from CPR numbers.
Usage
gender(cpr)
Arguments
cpr |
Character vector of CPR numbers with or without hyphens. |
Value
Integer vector of genders: 0 = female, 1 = male.
Examples
gender(c('1508631111', '1310762222'))
[Package cprr version 0.2.0 Index]