asSet {upsetjs}R Documentation

creates a new UpSet set structure

Description

creates a new UpSet set structure

Usage

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

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

Value

the set object

Examples

asSet("a", c(1, 2, 3))

[Package upsetjs version 1.11.1 Index]