Hello,
I am looking to create a new list of variables based on all possible combinations of a single variable. I've attached photos of an example. I want all possible combinations of 3 people and the sums of their x and y values.
The math would suggest there will be 120 possible combinations: n! / r! (n - r)! = (10!) / (3!)((10-3)!) = 120
I've found ways to combine variables, but no such luck finding a way to get all possible combinations, much less the sums of x and y as well.
Any help would be appreciated.
Thanks so much!
I am looking to create a new list of variables based on all possible combinations of a single variable. I've attached photos of an example. I want all possible combinations of 3 people and the sums of their x and y values.
The math would suggest there will be 120 possible combinations: n! / r! (n - r)! = (10!) / (3!)((10-3)!) = 120
I've found ways to combine variables, but no such luck finding a way to get all possible combinations, much less the sums of x and y as well.
Any help would be appreciated.
Thanks so much!

Comment