\HeaderA{makeUnique}{Make Values of Character Vector Unique}{makeUnique}
\keyword{character}{makeUnique}
\begin{Description}\relax
Paste characters on to values of a character vector to make them unique.
\end{Description}
\begin{Usage}
\begin{verbatim}
makeUnique(x)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{x}] object to be coerced to a character vector
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
Repeat values of \code{x} are labelled with suffixes "1", "2" etc.
\end{Details}
\begin{Value}
A character vector of the same length as \code{x}
\end{Value}
\begin{Author}\relax
Gordon Smyth
\end{Author}
\begin{SeeAlso}\relax
\code{makeUnique} is called by \code{\LinkA{merge.RGList}{merge.RGList}}.
Compare with \code{\LinkA{make.unique}{make.unique}} in the base package.
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
x <- c("a","a","b")
makeUnique(x)
\end{ExampleCode}
\end{Examples}


