triCoord | R Documentation |
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.