Learn R Programming

RVenn (version 1.1.0)

Venn,ANY-method: Build a Venn object.

Description

Venn builds a Venn object from a list.

Usage

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

Run this code
# NOT RUN {
venn = Venn(list(letters[1:10], letters[3:12], letters[6:15]))
print(venn)
# }

Run the code above in your browser using DataLab