allpairs | R Documentation |
Generate unique pairs or N-tuplets
allpairs(nval, ntuplet = 2, incl.self = FALSE)
nval |
Number of values to arrange into unique tuplets. |
ntuplet |
N-tuplets to arrange the values uniquely into. |
incl.self |
Determines whether a value can be paired with itself. |
A matrix where each row is a unique N-tuplet.
Sercan Kahveci
allpairs(nval=5,ntuplet=3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.