encode_3202: Encode a character vector prefixed with 3202

Description Usage Arguments Value

View source: R/Encode3202.R

Description

Encode a character vector prefixed with 3202

Usage

1
2
3
4
5

Arguments

x, y

character(n) Vectors to encode.

enc

integer(n) Encoded vectors to decode.

Value

encode_3202 returns an integer based on the digits following the prefix "3202". decode_3202 is the reverse process.

names2int takes two character vectors of equal length and returns an integer based on the first two digits. Lookup4 is the inverse process, returning the first two characters of each original vector in AaAa case.


HughParsonage/dhhs documentation built on Dec. 17, 2021, 11:22 p.m.