powered by
Computes the Cartesian product of all the combinations of elements in a list
listCartesian(allList)
A list with all possible combinations from the input list of lists
a list of lists
listCartesian(list(list(1, 2), list(3, 4)))
Run the code above in your browser using DataLab