name_elements {BaseSet} | R Documentation |
Name elements
Description
Retrieve the name of the elements.
Usage
name_elements(object)
## S4 method for signature 'TidySet'
name_elements(object)
## S4 replacement method for signature 'TidySet,characterORfactor'
name_elements(object) <- value
Arguments
object |
A TidySet object. |
value |
A character with the new names for the elements. |
Value
A TidySet
object.
Methods (by class)
-
name_elements(TidySet)
: Name elements -
name_elements(object = TidySet) <- value
: Rename elements
See Also
Other names:
name_elements<-()
,
name_sets<-()
,
name_sets()
,
rename_elements()
,
rename_set()
Examples
relations <- data.frame(
sets = c(rep("A", 5), "B"),
elements = letters[seq_len(6)],
fuzzy = runif(6)
)
TS <- tidySet(relations)
name_elements(TS)
[Package BaseSet version 0.9.0 Index]