Description Usage Arguments Value See Also Examples
Recursivly intersects a list of vectors. Takes 0 to N vectors. The default behavior for a length of 0 is to return c(), i.e. NULL. intersectN(a,b,c) ~ Reduce(intersect,list(a,b,c))
1 |
... |
a variable number of conses to be intersected |
a vector containing the intersecting values.
1 2 3 4 5 6 7 8 | intersectN()
# > NULL
intersectN(c(1,2,3))
# > 1 2 3
intersectN(c(1,2,3),c(2,3,4))
# > 2 3
intersectN(c(1,2,3),c(2,3,4),c(3,4,5))
#> 3
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.