set the vector of elements

setElements(upsetjs, value)

Arguments

upsetjs

an object of class upsetjs

value

the vector of elements

Value

the object given as first argument

Examples

upsetjs() %>%
  setElements(c(1, 2, 3, 4, 5)) %>%
  getElements()
#> [1] 1 2 3 4 5