intersect_all
calculate intersect set for two or more elements
intersect_all(...)
...
: some vectors or a list with some vectorsvector
x1 = letters[1:4] x2 = letters[3:6] x3 = letters[3:4] re =intersect_all(x1,x2,x3) re2 = intersect_all(list(x1,x2,x3)) re3 = union_all(x1,x2,x3)
union_all
Xiaojie Sun