combn_char: Generate all combinations of the elements of a character...

View source: R/combn_char.R

combn_charR Documentation

Generate all combinations of the elements of a character vector

Description

Generate all combinations of the elements of a character vector

Usage

combn_char(x)

Arguments

x

a character vector

Value

a nested list. A list whose elements are lists containing the character vectors with the combinations of their elements.

Examples

combn_char(c("gender", "sector"))
combn_char(c("gender", "sector", "education"))

gibonet/cuber documentation built on Dec. 24, 2024, 5:17 p.m.