asSet: creates a new UpSet set structure

View source: R/data.R

asSetR 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))

upsetjs documentation built on July 13, 2022, 9:06 a.m.