[R] Finding missing elements by comparing vectors

Steve Lianoglou mailinglist.honeypot at gmail.com
Thu Jul 16 17:46:12 CEST 2009


> Is there a function in R to do a-b where a and b are two non-numeric  
> sets
> (or intersection complement of these two sets).

I think you're looking for "setdiff"

-steve

--
Steve Lianoglou
Graduate Student: Physiology, Biophysics and Systems Biology
Weill Medical College of Cornell University

Contact Info: http://cbio.mskcc.org/~lianos/contact




More information about the R-help mailing list