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