There is also a symmetric set difference = union(setdiff(x, y),
setdiff(y, x))
denoted x \Delta y

-- David


-----Original Message-----
From: [email protected] [mailto:[email protected]]
On Behalf Of Juliet Hannah
Sent: Tuesday, January 13, 2009 9:41 AM
To: [email protected]
Subject: [R] meaning of asymmetric on help page for intersect

Sorry if this is a silly question. What does asymmetric refer to from
?intersect, and are there any
aspects of the result that may be different from expected (reason for
exclamation point) ?

As toy data, if needed, here are the examples from the help page.

(x <- c(sort(sample(1:20, 9)),NA))
(y <- c(sort(sample(3:23, 7)),NA))

Thanks,

Juliet

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to