Thank you very much for your feedback and comments.

%in% is quite handy and I use it a lot in my work. For some reason, I wanted to steer clear of data wrangling so chose the logical operator option but I agree %in% makes the code more neat :-)

Ahmar Shah, PhD (Oxford)
Ahmar Shah, PhD (Oxford)

Written by Ahmar Shah, PhD (Oxford)

Scientist (several research publications in prestigious journals such as The Lancet, Brain, Thorax, IEEE Transactions), love writing for meaning & impact…

Responses (1)