[R] Executing index value for unequal vector lengths

Ivan Krylov kry|ov@r00t @end|ng |rom gm@||@com
Wed Apr 20 08:34:22 CEST 2022


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



More information about the R-help mailing list