powered by
Combinations of input arguments
combinations(...)
A data frame with columns named as the inputs, containing all input combinations.
Any number of atomic vectors.
combinations(a = 1:2, b = letters[1:3], c = LETTERS[1:2])
Run the code above in your browser using DataLab