I have a data frame (df) and the columns are labelled with the following variables:
Image, id, sex, alt, brood
I want to create a subset that omitts certain image ids, these ids are "19N0004" "19N0010" etc. I have around 30 I want to remove.
Is there a way I can filter or remove these observations using these id numbers? I tried this but it didn't work:
subset.df <- df[df$id %in% -c( "19N0040", "19N0081", "19N0083", "19N0099", "19N0109", "19N0150", "19N0160",...