I am trying to figure out how to remove all unique rows, from a data frame, but if it has a duplicate, I want that to stay in. For Example - I want all columns from this wi
Another option:
subset(df,duplicated(col1) | duplicated(col1, fromLast=TRUE))