[R] Excluding from an Array the Elements of Another Array

Yao, Minghua myao at ou.edu
Thu Dec 11 21:17:07 CET 2003


Hi,

My question goes like this. I have two arrays A and B. I want to exclude
from A the elements contained in B.
Is there an easy way like A[A != x] to exclude a single one. Thanks for any
help.

Regards,

-MY




More information about the R-help mailing list