powered by
overlap returns the same elements of the sets in a Venn object.
overlap
Venn
# S4 method for Venn overlap(venn, slice = "all")
(Required) A Venn object.
(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.
# NOT RUN { venn = Venn(list(letters[1:10], letters[3:12], letters[6:15])) overlap(venn) overlap(venn, slice = c(1, 2)) # }
Run the code above in your browser using DataLab