setSelection | R Documentation |
sets the selection of the chart
setSelection(upsetjs, name = NULL)
upsetjs |
an object of class |
name |
the name of the set to select or a list with name and type |
the object given as first argument
upsetjs() %>% fromList(list(a = c(1, 2, 3), b = c(2, 3))) %>% setSelection("b")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.