Learn R Programming

sweidnumbr (version 1.5.0)

pin_date: Calculate the date of birth from a pin

Description

Calculates the date of birth in date format.

Usage

pin_date(pin)

Value

Date of birth as a vector in date format.

Arguments

pin

A vector of class pin. See as.pin.

Examples

Run this code
# Examples taken from SKV 704 (see references)
ex_pin <- c("196408233234", "186408833224")
pin_date(ex_pin)

Run the code above in your browser using DataLab