dot-corDuplItemsByIncrem: Avoid duplicating items between 'curNa' and 'newNa' by...

.corDuplItemsByIncremR Documentation

Avoid duplicating items between 'curNa' and 'newNa' by incrementing digits after 'extPref' (in newNa)

Description

This function aims to avoid duplicating items between 'curNa' and 'newNa' by incrementing digits after 'extPref' (in newNa)

Usage

.corDuplItemsByIncrem(newNa, curNa, extPref = "_s")

Arguments

newNa

(character) main input 1

curNa

(character) main input 2

extPref

(character) extension

Value

This function returns the corrected input vector newNa

See Also

duplicated

Examples

.corDuplItemsByIncrem(letters[1:6], letters[8:4])

wrMisc documentation built on Sept. 11, 2024, 6:10 p.m.