Is there a function that receives a list x and returns a list y such that y[[i]] = intersect(x[[1]][[i]], x[[2]][[i]], ...) ?
x
y
y[[i]] = intersect(x[[1]][[i]], x[[2]][[i]], ...)
If n
It seems the Reduce can be simply used as follows:
Reduce
> Reduce(intersect, list(v1 = c("a","b","c","d"), + v2 = c("a","b","e"), + v3 = c("a","f","g"))) [1] "a"