overlap | R Documentation |
overlap
returns the same elements of the sets in a Venn
object.
overlap(venn, slice = "all")
## S4 method for signature 'Venn'
overlap(venn, slice = "all")
venn |
(Required) A |
slice |
(Optional) The names or the indices of sets of interest. Default is "all", meaning the intersection will be calculated for all the sets. |
A vector showing the intersection of the sets.
tyakyol@gmail.com
venn = Venn(list(letters[1:10], letters[3:12], letters[6:15]))
overlap(venn)
overlap(venn, slice = c(1, 2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.