There is also a symmetric set difference = union(setdiff(x, y), setdiff(y, x)) denoted x \Delta y
-- David -----Original Message----- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Juliet Hannah Sent: Tuesday, January 13, 2009 9:41 AM To: r-help@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@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. ______________________________________________ R-help@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.