possible_combinations: Calculate all possible combinations of elements
Description
Takes a vector of elements and returns a vector with all possible
combinations
Usage
possible_combinations(elements, maxlen, sep = "_")
Value
A vector with all element combinations
Arguments
- elements
A vector of elements
- maxlen
maximum size of combinations to be considered
- sep
String. Separator used for showing combinations of elements