I'm sure there's a way to make subset and keep the NA values in R. However, when I apply this function, the NA values are also disappearing from my base. I'm just using the formula below:
dados1<-data.frame(subset(dados,V2!="CNPJ"))
So you're missing the values of V2 that are in NA. What is the best way to do this subset?