MakeUniqueNames: De-duplicate names by appending characters

View source: R/utilites.R

MakeUniqueNamesR Documentation

De-duplicate names by appending characters

Description

This is similar to make.unique but is useful for making less ugly names

Usage

MakeUniqueNames(names, suffix = " ", prefix = "")

Arguments

names

A character vector

suffix

A character string to append to de-duplicated name. If name with the prefix is already used then another copy of the prefix and suffix is added.

prefix

A character string to prepend to de-duplicated name. If name with the prefix is already used then another copy of the prefix and suffix is added.


Displayr/flipU documentation built on March 2, 2024, 4:35 a.m.