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