name_sets {BaseSet} | R Documentation |
Name sets
Description
Retrieve the name of the sets.
Usage
name_sets(object)
## S4 method for signature 'TidySet'
name_sets(object)
## S4 replacement method for signature 'TidySet,characterORfactor'
name_sets(object) <- value
Arguments
object |
A TidySet object. |
value |
A character with the new names for the sets. |
Value
A TidySet
object.
Methods (by class)
-
name_sets(TidySet)
: Name sets -
name_sets(object = TidySet) <- value
: Rename sets
See Also
Other names:
name_elements<-()
,
name_elements()
,
name_sets<-()
,
rename_elements()
,
rename_set()
Other methods:
TidySet-class
,
activate()
,
add_column()
,
add_relation()
,
arrange.TidySet()
,
cartesian()
,
complement_element()
,
complement_set()
,
complement()
,
element_size()
,
elements()
,
filter.TidySet()
,
group_by.TidySet()
,
group()
,
incidence()
,
intersection()
,
is.fuzzy()
,
is_nested()
,
move_to()
,
mutate.TidySet()
,
nElements()
,
nRelations()
,
nSets()
,
name_elements<-()
,
name_sets<-()
,
power_set()
,
pull.TidySet()
,
relations()
,
remove_column()
,
remove_element()
,
remove_relation()
,
remove_set()
,
rename_elements()
,
rename_set()
,
select.TidySet()
,
set_size()
,
sets()
,
subtract()
,
union()
Examples
relations <- data.frame(
sets = c(rep("A", 5), "B"),
elements = letters[seq_len(6)],
fuzzy = runif(6)
)
TS <- tidySet(relations)
name_sets(TS)