[R] meaning of asymmetric on help page for intersect

davidr at rhotrading.com davidr at rhotrading.com
Tue Jan 13 16:56:28 CET 2009


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

-- David


-----Original Message-----
From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org]
On Behalf Of Juliet Hannah
Sent: Tuesday, January 13, 2009 9:41 AM
To: r-help at r-project.org
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

______________________________________________
R-help at r-project.org 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.




More information about the R-help mailing list