This function returns a logical value indicating whether the input vector contains no duplicated elements.
Examples
if(interactive()){
has_no_duplicates(c(1, 2, 3)) # returns TRUE
has_no_duplicates(c(1, 2, 2)) # returns FALSE
}
This function returns a logical value indicating whether the input vector contains no duplicated elements.
if(interactive()){
has_no_duplicates(c(1, 2, 3)) # returns TRUE
has_no_duplicates(c(1, 2, 2)) # returns FALSE
}