View source: R/general.purpuse.utilities.R
my.make.unique | R Documentation |
Makes the elements of a character vector unique by appending sequence numbers to duplicates. The difference from make.unique is that my.make.unique adds replicate number to all items, not to duplicates only.
my.make.unique(x, sep = ".")
x |
a character vector |
sep |
a character string used to separate a duplicate name from its sequence number. |
A character vector of same length as names with duplicates changed
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.