powered by
Set intersection of arbitrary number of arguments.
mintersect(...)
a vector representing the intersection of the arguments
arguments to be intersected, vectors of the same mode, see intersect.
intersect
Georgi N. Boshnakov
The base R function intersect is a binary operation. mintersect works with any positive number of arguments.
mintersect
If called with one argument, mintersect returns it. This is unlike intersect which gives an error in this case.
Calling mintersect with no arguments is an error (as it is for intersect).
mintersect(1:20, 3:18, 7:12) mintersect(letters[1:20], letters[3:18], letters[7:12]) mintersect(1:4)
Run the code above in your browser using DataLab