View source: R/makeXlColAlphabet.r
abc2index | R Documentation |
This function supports nchar up to 4, i.e. from "A" to "ZZZZ".
abc2index(abc)
abc |
a character vector to be converted to numbers (indices). |
an integer vector
abc2index(letters) # 1–26
abc2index(c("a", NA, "a")) # 1 NA 1
## Not run:
abc2index("zzzza") # Error
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.