GetAllSubsets: Get All Subsets out of a List of Elements
Description
Returns a list with all the subsets that can be built based on the elements given in x.
The number of elements used in the combinations can be limited by setting min.n and max.n.
Usage
GetAllSubsets(x, min.n = 1, max.n = length(x))
Arguments
x
a vector with elements
min.n
the minimum count of elements to be drawn. This defaults to 1.
max.n
the maximum count of elements to be drawn. Default is "all elements in x".