Skip to contents

Convert Letters to Integers

Usage

letters_to_numbers(x)

Arguments

x

<character> vector of letters

Value

<integer> vector

Examples

letters_to_numbers(LETTERS[1:5])
#> [1] 1 2 3 4 5