View source: R/makeXlColAlphabet.r
shift_abc | R Documentation |
This function is useful for output with openxlsx package.
shift_abc(abc, n_shift = 0L)
abc |
a character vector to be shifted. |
n_shift |
numbers to shift, Default: 0 |
a character vector
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.