This function returns a vector of the duplicated values in the input vector.
Examples
if(interactive()) {
util_get_duplicated_values(c(1, 2, 2)) # returns 2
util_get_duplicated_values(c(1, 2, 3)) # returns NULL
}
This function returns a vector of the duplicated values in the input vector.
if(interactive()) {
util_get_duplicated_values(c(1, 2, 2)) # returns 2
util_get_duplicated_values(c(1, 2, 3)) # returns NULL
}