Displaying 1 result from an estimated 1 matches for "getnextset".
2008 Dec 11
3
generate combination multiset (set with repetition)
...ic package to install, t(combn(set,2)) was suggested but it
doesn't produce repetitions; expand.grid(rep(list(1:3), 2)) was also
suggested, but it produces permuations, not combinations.
Additionally, I would like to iterate through each resultant set for
large n (similar to the description for getNextSet {pcalg}). Any
suggestions?
Reuben Cummings