I know that we can use unique() to effectively show a dataframe without duplicate values, but is there an elegant way to show only those rows that appear once in a dataframe?
E.g.,
a = c(10,20,10,10)
b = c(10,30,10,20)
ab = data.frame(a,b)
should return the second and final row only, and not the first and third (since this row exists more than once).
Thanks