[R] Comparison of vectors in a matrix
esterhazy
a.gaudeul at gmail.com
Tue Nov 10 16:23:44 CET 2009
Hi,
I have a matrix with two columns, and the elements of the matrix are
vectors.
So for example, in line 3 of column 1 I have a vector v31=("marc", "robert,
"marie").
What I need to do is to compare all vectors in column 1 and 2, so as to get,
for example setdiff(v31,v32) into a new column.
Is there a way to do this in R?
Thanks!
--
View this message in context: http://old.nabble.com/Comparison-of-vectors-in-a-matrix-tp26284855p26284855.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list