BaseSet-package {BaseSet} | R 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:
Report bugs at https://github.com/ropensci/BaseSet/issues
Examples
set <- list("A" = letters[1:5], "B" = letters[4:7])
TS <- tidySet(set)
cardinality(TS)
intersection(TS, c("A", "B"))
[Package BaseSet version 0.9.0 Index]