Pairwise x,y combinations
triCoord
gets pairwise combinations for 'n' elements; returns matrix with x & y coordinates to form all pairwise groups for 1:n elements
triCoord(n, side = "upper")
n |
(integer) number of elements for making all pair-wise combinations |
side |
(character) "upper" or "lower" |
2-column matrix wiyh indexes for all pairwise combnations of 1:n
lower.tri
or upper.tri
, simpler version upperMaCoord
triCoord(4)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.