View source: R/makeUniqueNames.R
makeUniqueNames | R Documentation |
make an character vector suitable for names by adding an integer to the end of the characters.
makeUniqueNames(x, sep = "_")
x |
character vector for names (usually with duplicates). |
sep |
a character to seperate the original character and added an integer. |
A character vector without duplicates.
makeUniqueNames(c("a", "b" ,"a", "a"))
makeUniqueNames(c("a", "b" ,"a", "a", "b"), ".")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.