makeunique: Make Values of Character Vector Unique

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Paste characters on to values of a character vector to make them unique.

Usage

1

Arguments

x

object to be coerced to a character vector

Details

Repeat values of x are labelled with suffixes "1", "2" etc.

Value

A character vector of the same length as x

Author(s)

Gordon Smyth

See Also

makeUnique is called by merge.RGList. Compare with make.unique in the base package.

Examples

1
2
x <- c("a","a","b")
makeUnique(x)

richierocks/limma2 documentation built on May 27, 2019, 8:47 a.m.