tuples {StabPerf} | R Documentation |
Returns a list of 2-tuples giving all pairwise combinations between 1 and n
Description
Returns a list of 2-tuples giving all pairwise combinations between 1 and n
Usage
tuples(J)
Arguments
J |
the order of maximal index to create the 2-tuples. |
Details
Returns a list of 2-tuples giving all pairwise combinations up to a maximum.
Value
See Also
tupleApply
Examples
t <- tuples(4)
# returns [ [1,2], [1,3], [1,4], [2,3], [2,4], [3,4] ]
[Package
StabPerf version 0.5
Index]