name_elements | R Documentation |
Retrieve the name of the elements.
name_elements(object, all, ...)
## S4 method for signature 'TidySet,logical'
name_elements(object, all = TRUE)
## S4 method for signature 'TidySet,missing'
name_elements(object, all)
## S4 replacement method for signature 'TidySet,logical,characterORfactor'
name_elements(object, all) <- value
## S4 replacement method for signature 'TidySet,missing,characterORfactor'
name_elements(object) <- value
object |
A TidySet object. |
all |
A logical value if all elements should be reported or only those present. |
... |
Other arguments passed to methods. |
value |
A character with the new names for the elements. |
A TidySet
object.
name_elements(object = TidySet, all = logical)
: Name elements
name_elements(object = TidySet, all = missing)
: Name elements
name_elements(object = TidySet, all = logical) <- value
: Rename elements
name_elements(object = TidySet, all = missing) <- value
: Rename elements
Other names:
name_elements<-()
,
name_sets()
,
name_sets<-()
,
rename_elements()
,
rename_set()
relations <- data.frame(
sets = c(rep("A", 5), "B"),
elements = letters[seq_len(6)],
fuzzy = runif(6)
)
TS <- tidySet(relations)
name_elements(TS)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.