View source: R/makeXlColAlphabet.r
index2abc | R Documentation |
This function supports nchar up to 4 (ZZZZ), i.e. the upper limit of number is 475,254.
index2abc(num, nchar = 4L)
num |
an integer vector which is converted to alphabets. |
nchar |
an integer used for creating an alphabetical name base. Default: 4L. |
a character vector
index2abc(num = 5) # "E"
index2abc(num = 10^(1:5)) # "J" "CV" "ALL" "NTP" "EQXD"
## Not run:
index2abc(num = 500000) # Error. due to exceeding sum(26^(1:4))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.