all_set_combinations: Enumerate all 2^n - 1 combination labels for a set of names

View source: R/utils.R

all_set_combinationsR Documentation

Enumerate all 2^n - 1 combination labels for a set of names

Description

Generates labels in cardinality-first order: singletons first, then pairs, then triples, etc. Within each cardinality, set names appear in their original order. Used only by the Venn path (bounded at n = 5).

Usage

all_set_combinations(setnames)

Arguments

setnames

a character vector of set names

Value

A character vector of length 2^n - 1.


eulerr documentation built on May 30, 2026, 1:07 a.m.