powered by
Functions to add elements. If the elements are new they are added, otherwise they are omitted.
add_elements(object, elements, ...)
A TidySet object with the new elements.
TidySet
A TidySet object
A character vector of the elements.
Placeholder for other arguments that could be passed to the method. Currently not used.
Other add_*: add_relations(), add_sets()
add_relations()
add_sets()
x <- list("a" = letters[1:5], "b" = LETTERS[3:7]) a <- tidySet(x) b <- add_elements(a, "fg") elements(b)
Run the code above in your browser using DataLab