I need a little help with my analysis: right now my dataset is something like this
Age Gender V1 V2 C1 C2 F1 F2 20 2 1 1 2 4 23 2 1 4 3 21 1 3 2 2 3
The most important of my variable is V# and I want to base my deleting NA process from it to create a new dataset where I will fill the missing data with mice.
My problem is that I don't know a way to select and work only with V# values without losing all the other information. In fact, I tried using select() but when I save my file I've only the V variables and nothing else.
For example, right now I need to say to r "basing only on V variables delete all row that have more then 5 missing values but keep Age, gender, C and F" and so on.
Thank you so much for your help