My data looks like this:
A B
1 2
1A 2
1A 2
2 3
2 4
2 4
3A 0
3A 0
4A 1
4A 1
5 5
I want to subset the data, and extract all records that are duplicates, based on values on both columns. I tried using cbind, and unique, but they extract only the unique values. I couldnt find a reverse subset function, if that can help. Thx.