combn_subset {jwutil} | R Documentation |
all unique combinations of a vector and all its non-zero subsets
combn_subset(x)
x |
vector to be subsetted and combined |
list of vectors with all combinations of x and its subsets
combn_subset(c("a", "b")) combn_subset(c(10, 20, 30)) combn_subset(NULL)