a <- c(1,3,5,7,9)
b <- c(3,6,8,9,10)
c <- c(2,3,4,5,7,9)
我想从上述向量中获取公共元素(例如:3 和 9)
可能有更聪明的方法来解决这个问题,但是
intersect(intersect(a,b),c
a <- c(1,3,5,7,9)
b <- c(3,6,8,9,10)
c <- c(2,3,4,5,7,9)
我想从上述向量中获取公共元素(例如:3 和 9)
可能有更聪明的方法来解决这个问题,但是
intersect(intersect(a,b),c