dedup: dedup

View source: R/utils.R

dedupR Documentation

dedup

Description

relabels duplicates in a character vector with .1, .2, .3 (where "." can be replaced by any user specified suffix)

Usage

dedup(x, suffix = ".")

Arguments

x

input vector to dedup

suffix

suffix separator to use before adding integer for dups in x

Value

length(x) vector of input + suffix separator + integer for dups and no suffix for "originals"

Author(s)

Marcin Imielinski


mskilab/GxG documentation built on April 12, 2025, 5:32 p.m.