I want to filter my training data against a list of variables, and remove variables with a certain amount of NA values. I can select those variables if I pass them to vars(names(. . .)), but I can't use a negative to remove the same variables.
Why doesn't this work? What is the tidy way to do this?