I have a large dataset, nearly a million observations representing a person. Each action of the person are noted separately but the each person has a unique reference number that is used to identify them. Using a particular characteristic I have flagged down certain rows. What I want now to do is remove all occurrences of that reference number from the list which has even once been flagged. The flag I have used is a binary flag.
Am an amateur in R.
How should I proceed?