Intersect Operation
Performs intersection in the same manner as R's base package intersect works.
Intersect(x, y)
x, y |
vectors containing a sequence of items, ideally of the same mode |
The function will discard any duplicated values in the arguments.
The function will return a vector of the same mode as the arguments given. NAs will be removed.
Marios Dimitriadis
R implementation and documentation: Marios Dimitriadis <kmdimitriadis@gmail.com>
x <- c(sort(sample(1:20, 9))) y <- c(sort(sample(3, 23, 7))) Intersect(x, y)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.