fastIntersect | R Documentation |
A fast version of base::intersect()
fastIntersect(x, y, keep.duplicated = FALSE)
x , y |
Vectors to be compared. |
keep.duplicated |
Whether or not to keep duplicated elements in |
A vector of a common mode.
intersect
x <- sample(LETTERS, 12)
y <- sample(LETTERS, 12)
fastIntersect(x, y)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.