Venn-class {ggVennDiagram}R Documentation

Venn is a S4 class to represent multiple sets.

Description

Print user-friendly information of a Venn object

Usage

Venn(sets, names = NULL)

## S4 method for signature 'ANY'
Venn(sets, names = NULL)

## S4 method for signature '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

Value

A Venn 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)

[Package ggVennDiagram version 1.5.2 Index]