Venn,ANY-method {RVenn}R Documentation

Build a Venn object.

Description

Venn builds a Venn object from a list.

Usage

## S4 method for signature 'ANY'
Venn(sets)

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.

Value

A Venn object.

Examples

venn = Venn(list(letters[1:10], letters[3:12], letters[6:15]))
print(venn)

[Package RVenn version 1.1.0 Index]