Description Usage Arguments Value Examples
Performs intersection across all the supplied arguments.
1 | intersection(x, y, ...)
|
x |
A vector containing a sequence of items (conceptually with no duplicated values). |
y |
A vector of the same |
... |
Further vectors of the same mode as |
A vector of the same mode
as x
and
y
.
1 2 3 4 5 | x <- c(1, 2, 4, 5)
y <- c(2, 3, 4)
intersection(x, y)
z <- c(5, 4, 3)
intersection(x, y, z)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.