Sets of the TidySet
Given TidySet retrieve the sets or substitute them.
sets(object) sets(object) <- value ## S4 method for signature 'TidySet' sets(object) ## S4 replacement method for signature 'TidySet' sets(object) <- value replace_sets(object, value) ## S4 method for signature 'TidySet' nSets(object)
object |
A |
value |
Modification of the sets. |
A data.frame with information from the sets.
TidySet: Retrieve the sets information
TidySet: Modify the sets information
TidySet: Return the number of sets
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<-(),
name_sets(),
power_set(),
pull.TidySet(),
relations(),
remove_column(),
remove_element(),
remove_relation(),
remove_set(),
rename_elements(),
rename_set(),
select.TidySet(),
set_size(),
subtract(),
union()
TS <- tidySet(list(A = letters[1:5], B = letters[2:10]))
sets(TS)
sets(TS) <- data.frame(sets = c("B", "A"))
TS2 <- replace_sets(TS, data.frame(sets = c("A", "B", "C")))
sets(TS2)
nSets(TS)
nSets(TS2)Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.