upsetjs a htmlwidget wrapper around UpSet.js (https://upset.js.org/)

upsetjs(
  width = "100%",
  height = NULL,
  elementId = NULL,
  sizingPolicy = upsetjsSizingPolicy()
)

Arguments

width

width of the element

height

height of the element

elementId

unique element id

sizingPolicy

htmlwidgets sizing policy object. Defaults to upsetjsSizingPolicy()

Value

An object of class upsetjs and htmlwidget

Examples

upsetjs() %>% fromList(list(a = c(1, 2, 3), b = c(2, 3)))