brunoasmCool. But then I see, for example, that someone that should know my name and yet called me Carlos not long ago is a few retweets down the thread. Why am I a Carlos in someone’s head? Doing is better than telling, and I urge people to do more. I nominate all. t.co/K7b7rAmwKq
brunoasm@StrepsiPrimate@tauanajc We discovered this exactly because we wanted to show that using %in% and several tests with | were equivalent and yielded exactly the same result. Except they don’t 🤦🤦🤦
brunoasm@StrepsiPrimate@tauanajc dplyr::filter() might be different (I hope!), but data.frame indexing returns rows full of NAs for NA values in logical indexing. That is definitely not what I expected. x[x$y %in% z,] does work as you describe, since it will return FALSE for NAs in y if there are no NAs in z.