Given TidySet retrieve the relations or substitute them. TidySet object

relations(object)

relations(object) <- value

# S4 method for TidySet
relations(object)

replace_relations(object, value)

# S4 method for TidySet
relations(object) <- value

# S4 method for TidySet
nRelations(object)

Arguments

object

Object to be coerced or tested.

value

Modification of the relations.

Value

A data.frame with information about the relations between elements and sets.

Methods (by class)

  • TidySet: Retrieve the relations

  • TidySet: Modify the relations

  • TidySet: Return the number of unique relations

See also

Examples

TS <- tidySet(list(A = letters[1:2], B = letters[5:7])) relations(TS)
#> elements sets fuzzy #> 1 a A 1 #> 2 b A 1 #> 3 e B 1 #> 4 f B 1 #> 5 g B 1