powered by
adds a new numeric attribute to the plot
addNumericAttribute(upsetjs, name, values, min_value = NULL, max_value = NULL)
the object given as first argument
an object of class upsetjs or upsetjs_proxy
upsetjs
upsetjs_proxy
name of the attribute
the values as a numeric vector
optional min domain value
optional max domain value
upsetjs() %>% fromList(list(a = c(1, 2, 3), b = c(2, 3))) %>% addNumericAttribute("attr", runif(3))
Run the code above in your browser using DataLab