I have a dataframe (29 columns), I know that in some columns, there are some lines that contain the string "..."
.
I would like to create a dataframe that contains only the lines where there is in a column (or more) the string ".."
.
I can do it with filter or with select but I do not want to list all my columns by hand.
E.g. :
test <- filter(population, pays.Code == ".." | pays.Name == "..")
Is there a simple way (preferably without making a loop to stay efficient) to do this?
Thanks a lot for your answer.