my.make.unique: Make Character Strings Unique

View source: R/general.purpuse.utilities.R

my.make.uniqueR Documentation

Make Character Strings Unique

Description

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.

Usage

my.make.unique(x, sep = ".")

Arguments

x

a character vector

sep

a character string used to separate a duplicate name from its sequence number.

Value

A character vector of same length as names with duplicates changed


iaaka/visutils documentation built on Jan. 17, 2025, 11:29 p.m.