shift_abc: Shift n from given alphabetical colname

View source: R/makeXlColAlphabet.r

shift_abcR Documentation

Shift n from given alphabetical colname

Description

This function is useful for output with openxlsx package.

Usage

shift_abc(abc, n_shift = 0L)

Arguments

abc

a character vector to be shifted.

n_shift

numbers to shift, Default: 0

Value

a character vector

Examples

shift_abc("a", n_shift = 3)        # D
shift_abc(letters, n_shift = 3)    # D–AC
shift_abc(letters, n_shift = 1:26) # B–AZ. skipping ahead one by one.

JK-junkin/frabento documentation built on Oct. 20, 2023, noon