Create list with all possible combinations from another list in R
Ive seen people ask this question but only found threads with answers for other software and not I R
Basically I just want to create a list with all unique combinations possible
Desired input
a, b, c
desired output
a, ab, ac, b, bc, c, abc