this might be quite basic but I need to compare two columns of string elements in two different datasets, then delete the entries that are duplicates so I can work with the remaining elements.
Currently, I have the following:
compare <- append(test1$TL,test2$tl)
compare <- compare[!duplicated(compare)]
But it only deletes the first copy of duplicated elements. I need it to delete both copies so I can work with only the non-duplicates. Can anyone help?