Learn R Programming

sweidnumbr (version 1.5.0)

is.oin: Test if a character vector contains correct oin

Description

Test which elements in a text vector that contains organization identity number.

Usage

is.oin(oin)

Value

Logical vector indicating if the elements can be an organization identity number.

Arguments

oin

Character vector to be tested if it is an oin of the right format.

Examples

Run this code
ex_oin <- roin(3)
is.oin(ex_oin)

ex_oin_char <- as.character(ex_oin)
is.oin(ex_oin_char)

Run the code above in your browser using DataLab