add_suffix {taxlist} | R Documentation |
Add a suffix when strings are identical
Description
An integer will be added as suffix in x
if an identical value is in y
.
If a value with suffix is already in y
, the function will search for the
highest suffix to avoid duplicated values.
Usage
add_suffix(x, y, sep = "_")
Arguments
x |
( |
y |
( |
sep |
( |
Value
A character
value, either x
or x
with suffix if already in y
.
[Package taxlist version 0.2.4 Index]