R/make.uniqueIF.R
make.uniqueIF.Rd
make.uniqueIF: produces unique strings from duplicated
make.uniqueIF(string, sep = "_", letter = FALSE)
name of char. vector
separator
boolean, use numbers when FALSE
FALSE
character vector
make.uniqueIF(c(1, 1, 2, 2)) #> [1] "1_1" "1_2" "2_1" "2_2"