[R] meaning of asymmetric on help page for intersect
Prof Brian Ripley
ripley at stats.ox.ac.uk
Tue Jan 13 17:19:03 CET 2009
Because there is also a symmetric difference: see
http://en.wikipedia.org/wiki/Symmetric_difference
> 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
--
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
More information about the R-help
mailing list