powered by
This function is an adaptation of combn from base. currently the options are limited, and implying a value of m = 2.
combn_C(x)
is an integer vector, representing a sequence starting at 1.
# NOT RUN { x = 1:4 all(combn(x,2)==combn_C(x)) # }
Run the code above in your browser using DataLab