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

CheckDigit documentation built on May 29, 2017, 10:45 a.m.

Search within the CheckDigit package
Search all R packages, documentation and source code