BaseSet-package: BaseSet: Working with Sets the Tidy Way

BaseSet-packageR Documentation

BaseSet: Working with Sets the Tidy Way

Description

Implements a class and methods to work with sets, doing intersection, union, complementary sets, power sets, cartesian product and other set operations in a "tidy" way. These set operations are available for both classical sets and fuzzy sets. Import sets from several formats or from other several data structures.

Details

It provides a class TidySet with methods to do operations with sets.

Author(s)

Maintainer: LluĂ­s Revilla Sancho lluis.revilla@gmail.com (ORCID) [copyright holder]

Other contributors:

  • Zebulun Arendsee [reviewer]

  • Jennifer Chang [reviewer]

See Also

Useful links:

Examples

set <- list("A" = letters[1:5], "B" = letters[4:7])
TS <- tidySet(set)
cardinality(TS)
intersection(TS, c("A", "B"))

llrs/BaseSet documentation built on Jan. 28, 2024, 9:05 a.m.