Check if pin is a coordination number

Description

Calculate if the personal identity number is a coordination number.

Usage

1

Arguments

pin

A vector of class pin. See as.pin.

Value

Logical vector indicating if the pin is a coordination number (TRUE) or pin (FALSE).

References

Population registration in Sweden SKV 704 SOU 2008:60 : Personnummer och samordningsnummer

Examples

1
2
3
# Examples taken from SKV 704 (see references)
ex_pin <- c("196408233234", "196408833224")
pin_coordn(ex_pin)