R/attributes.R
setAttributes.Rd
set the attributes
setAttributes(upsetjs, attrs = list())
an object of class upsetjs or upsetjs_proxy
upsetjs
upsetjs_proxy
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)) ))