AppendCheckDigit: Append a check digit to a value

Description Usage Arguments Details Value See Also Examples

View source: R/AppendCheckDigit.R

Description

Append a check digit to a value

Usage

1
AppendCheckDigit(x, method)

Arguments

x

character vector of values requiring a check digit

method

a character value naming the check digit algorithm to use

Details

See CheckDigit-package for a list of available methods.

Value

character vector similar to x but with a check digit appended to each value

See Also

VerifyCheckDigit, CheckDigit-package

Examples

1
AppendCheckDigit('1234', 'Verhoeff') # 12340

Example output

   1234 
"12340" 

CheckDigit documentation built on May 1, 2019, 7:59 p.m.