| setAttributes | R Documentation |
set the attributes
setAttributes(upsetjs, attrs = list())
upsetjs |
an object of class |
attrs |
the attributes to set |
the object given as first argument
upsetjs() %>%
fromList(list(a = c(1, 2, 3), b = c(2, 3))) %>%
setAttributes(list(
attr = runif(3),
cat = as.factor(sample(c("male", "female"), 3, replace = TRUE))
))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.