Description Usage Arguments Value See Also Examples
Recursivly tales the union of a list of vectors. Takes 0 to N vectors. The default behavior for a length of 0 is to return c(), i.e. NULL. unionN(a,b,c) ~ Reduce(union,list(a,b,c))
1 |
... |
a variable number of vectors to have their union taken |
a vector containing the union of the 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.