Learn R Programming

upsetjs (version 1.11.1)

asSet: creates a new UpSet set structure

Description

creates a new UpSet set structure

Usage

asSet(name, elems = c(), cardinality = length(elems), color = NULL)

Value

the set object

Arguments

name

name of the set

elems

the elements of the set

cardinality

the cardinality of the set, default to length(elems)

color

the color of the set

Examples

Run this code
asSet("a", c(1, 2, 3))

Run the code above in your browser using DataLab