discern | R Documentation |
discern
returns the difference between two group of sets selected from
a Venn
object. If multiple sets are chosen for the slices, union of
those sets will be used.
discern(venn, slice1, slice2 = "all")
## S4 method for signature 'Venn'
discern(venn, slice1, slice2 = "all")
venn |
(Required) A |
slice1 |
(Required) The name or the index of the set of interest. Multiple sets can be selected. |
slice2 |
(Optional) The name or the index of the set of interest. Multiple sets can be selected. Default is all the sets except the sets of slice1. |
A vector showing the difference between slice1 and slice2.
tyakyol@gmail.com
venn = Venn(list(letters[1:10], letters[3:12], letters[6:15]))
discern(venn, slice1 = 1)
discern(venn, slice1 = c(1, 2), slice2 = 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.