Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

relations

Relations of the TidySet


Description

Given TidySet retrieve the relations or substitute them. TidySet object

Usage

relations(object)

relations(object) <- value

## S4 method for signature 'TidySet'
relations(object)

replace_relations(object, value)

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

## S4 method for signature '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

Other slots: elements(), sets()

Examples

TS <- tidySet(list(A = letters[1:2], B = letters[5:7]))
relations(TS)

BaseSet

Working with Sets the Tidy Way

v0.0.16
MIT + file LICENSE
Authors
Lluís Revilla Sancho [aut, cre] (<https://orcid.org/0000-0001-9747-2570>), Zebulun Arendsee [rev], Jennifer Chang [rev]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.