I am using the combn function in R to find the combinations of treatment and control in R, however this function doesn't account for order.
Is there another function similar to combn that could account for combination in different orders?
I hope to achieve this in the end
i.e.
000111
001110
011100
.... (should have 20 combination of 6 choose 3)