On Wed, 20 Apr 2022 06:18:14 +0000 Eliza Botto <eliza_botto using outlook.com> wrote: > EEE==DDD == doesn't work because it's element-wise. Try the %in% operator, or setdiff() if you know that EEE and DDD are sets and you'd like to be fancy. -- Best regards, Ivan