powered by
Determine Duplicate Elements in the Last Position
duplicated_last(x)
logical value
character
x=c(1,3,2,1,2) duplicated(x) duplicated_last(x)
Run the code above in your browser using DataLab