base_alpha: Alpha base

Description Usage Arguments Value Examples

View source: R/base-conversion.R

Description

Base 26 conversion with letters

Usage

1
base_alpha(x, base = 26)

Arguments

x

A string of letters. Non characters are removed.

base

A numeric

Value

A vector of integers

Examples

1
2
3
4
base_alpha("AB")
base_alpha("XFD")
base_alpha(c("JMB", "Jordan Mark", "XKCD"))
sum(base_alpha(c("x", "k", "c", "d")))

mark documentation built on July 16, 2021, 9:07 a.m.