makeUnique | R Documentation |
Make Duplicated Character Strings Unique
adds ".1", ".2", etc. to duplicate values
makeUnique(x, warn = TRUE, sep = ".", simple = FALSE)
x |
vector of character strings |
warn |
if |
sep |
separator between name and suffix number. Default: "." |
simple |
if |
x
with duplicate elements being modified to "element.1",
"element.2", etc.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.