base_alpha: Alpha base

View source: R/base-conversion.R

base_alphaR Documentation

Alpha base

Description

Base 26 conversion with letters

Usage

base_alpha(x, base = 26)

Arguments

x

A string of letters. Non characters are removed.

base

A numeric

Value

A vector of integers

Examples

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 Aug. 7, 2022, 1:05 a.m.