Print user-friendly information of a Venn object
Venn(sets, names = NULL)
# S4 method for class 'ANY'
Venn(sets, names = NULL)
# S4 method for class 'Venn'
show(object)
Arguments
- sets
(Required) A list containing vectors in the same class. If a
vector contains duplicates they will be discarded. If the list doesn't have
names the sets will be named as "Set_1", "Set_2", "Set_3" and so on.
- names
names of sets
- object
a Venn class object
Slots
sets
A list
object containing vectors in the same type.
names
The names of the sets
if it has names. If the list
doesn't have names, the sets will be named as "Set_1", "Set_2", "Set_3" and
so on.
Examples
venn = Venn(list(letters[1:10], letters[3:12], letters[6:15]))
print(venn)
#> An object of class 'Venn':
#> Slots: sets, names;
#> No. Sets: 3 SetNames: Set_1, Set_2, Set_3.