pin_sex {sweidnumbr}R Documentation

Calculate sex from pin

Description

Calculates the sex from the personal identification number.

Usage

pin_sex(pin)

Arguments

pin

A vector of class pin. See as.pin.

Value

Factor with label 'Male' and 'Female'.

References

Examples

# Examples taken from SKV 704 (see references)
ex_pin <- c("196408233234", "186408233224")
pin_sex(ex_pin)


[Package sweidnumbr version 1.5.0 Index]