Hi,
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).
Kind Regards,
Praveen.
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
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
: Thursday, July 16, 2009 11:42 AM
To: r-help@r-project.org
Subject: [R] Finding missing elements by comparing vectors
Hi,
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).
Kind Regards,
Praveen
] , Y [Y %in% X] ) )
[1] red blue green
David
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org]
On Behalf Of Praveen Surendran
Sent: Thursday, July 16, 2009 11:42 AM
To: r-help@r-project.org
Subject: [R] Finding missing elements
4 matches
Mail list logo