| combs | R Documentation |
Generates all combinations of length m of a vector a.
combs(a, m)
a |
numeric vector of some length |
m |
integer with |
combs generates combinations of length n of the elements
of the vector a.
matrix representing combinations of the elements of a
perms, randcomb
combs(seq(2, 10, by=2), m = 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.