powered by
Determine All Duplicate Elements
duplicated_all(x)
character
logical value
# NOT RUN { x=c(1,3,2,1,2) duplicated(x) duplicated_all(x) # }
Run the code above in your browser using DataLab