I have a column in a data frame called Retest_data that goes like this:
SFC
YU006UGD31092
YU006UGD31071
YU006UGD30152
YU006UGD25831
YU006UGD25831
YU006UGD25332
YU006UG922912
YU006UG922912
And what I want is to remove all instances of values that occur more than once. So dplyr functions like unique and distinct won't work for me.
I also have a list called Remove_SFC that has all the SFC values that occur more than once. How can I use this list to remove all recurring values from my data? Thanks.
distinct()orunique()?dplyr::anti_join(Retest_data, Remove_SFC, by="SFC").