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

power_set

Create the power set


Description

Create the power set

Usage

power_set(object, set, name, ...)

Arguments

object

A TidySet object.

set

The name of the set to be used for the power set

name

The root name of the new set.

...

Other arguments passed down if possible. Currently ignored.

Value

A TidySet object with the new set

See Also

Examples

relations <- data.frame(
    sets = c(rep("a", 5), "b"),
    elements = letters[seq_len(6)]
)
TS <- tidySet(relations)
power_set(TS, "a", name = "power_set")

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.