add_elements | R Documentation |
Functions to add elements. If the elements are new they are added, otherwise they are omitted.
add_elements(object, elements, ...)
object |
A |
elements |
A character vector of the elements. |
... |
Placeholder for other arguments that could be passed to the method. Currently not used. |
A TidySet
object with the new elements.
add_element
doesn't set up any other information about the elements.
Remember to add/modify them if needed with mutate
or mutate_element
Other add_*:
add_relations()
,
add_sets()
x <- list("a" = letters[1:5], "b" = LETTERS[3:7])
a <- tidySet(x)
b <- add_elements(a, "fg")
elements(b)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.