I am relatively new to R so any help on this would be much appreciated:
The problem is as follows: I have 5 groups of values called A, B, C, D, E. Each group contains 10 values. The values in group A are: a1, a2, a3, a4, a5, a6, a7, a8, a9, a10. The values in group B are: b1, b2, b3, b4 ... b10 and so on. I need to find all of the unique combinations of values possible where in each combination no two values come from the same group. Each combination must contain 5 values. I am not concerned with the order of values.
Thanks