Make Values of Character Vector Unique
Paste characters on to values of a character vector to make them unique.
makeUnique(x)
x |
object to be coerced to a character vector |
Repeat values of x
are labelled with suffixes "1", "2" etc.
A character vector of the same length as x
Gordon Smyth
makeUnique
is called by merge.RGList
.
Compare with make.unique
in the base package.
x <- c("a","a","b") makeUnique(x)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.