embed_wordlist: Transforms Character To Numeric

View source: R/embed_wordlist.R

embed_wordlistR Documentation

Transforms Character To Numeric

Description

Takes a vector of character (each with 5 letters) and transforms it to a numeric vector of length 26*5=130.

Usage

embed_wordlist(wl)

Arguments

wl

character, each 5 letters long, all lowercase letters

Details

E.g. 3rd letter is m (13th letter in the alphabet), then the 26*2+13=65th position of the answer is 1.

Value

numeric


kweinert/wordlegame documentation built on April 29, 2022, 7:19 p.m.