powered by
Generate all combinations of the elements of a character vector
combn_char(x)
a character vector
a nested list. A list whose elements are lists containing the character vectors with the combinations of their elements.
# NOT RUN { combn_char(c("gender", "sector")) combn_char(c("gender", "sector", "education")) # }
Run the code above in your browser using DataLab