Generate Combinations
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
combs(seq(2, 10, by=2), m = 3)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.