Skip to content
Prev 44984 / 398528 Next

question about setdiff()

`Same' object appearing more than once do not count, I guess.  As an
example:
[1] 1 2

The second `2' does not show up, because
function (x, y) 
unique(if (length(x) || length(y)) x[match(x, y, 0) == 0] else x)
<environment: namespace:base>

Note the unique().

Andy
------------------------------------------------------------------------------
Notice:  This e-mail message, together with any attachments,...{{dropped}}