I have a dataframe with 10 columns. One column gives bird species' names. There's actually 300 species but I'm just interested in 200 of them. I would like to keep only the information about this 200 species.
Screenshot of my table: https://i.stack.imgur.com/OcJyI.png
I can't just write : filter(Species == "Mallard" & Species == "Wood-pigeon")
I have a matrix with all the 200 selected species. But, I don't know how to use this matrix to select to relevant rows in my dataframe. Is it possible with subset/filter/etc function to select rows based on a matrix?
What are the correct codes please ?