Learn R Programming

upsetjs (version 1.11.1)

setElements: set the vector of elements

Description

set the vector of elements

Usage

setElements(upsetjs, value)

Value

the object given as first argument

Arguments

upsetjs

an object of class upsetjs

value

the vector of elements

Examples

Run this code
upsetjs() %>%
  setElements(c(1, 2, 3, 4, 5)) %>%
  getElements()

Run the code above in your browser using DataLab