addNumericAttribute | R Documentation |
adds a new numeric attribute to the plot
addNumericAttribute(upsetjs, name, values, min_value = NULL, max_value = NULL)
upsetjs |
an object of class |
name |
name of the attribute |
values |
the values as a numeric vector |
min_value |
optional min domain value |
max_value |
optional max domain value |
the object given as first argument
upsetjs() %>% fromList(list(a = c(1, 2, 3), b = c(2, 3))) %>% addNumericAttribute("attr", runif(3))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.