[R] ordering x's and y's

Andrew Criswell arc at arcriswell.com
Wed Dec 11 05:02:03 CET 2002


Hello ALL:

How do I get R to list all possible orderings of 2 x's and 3 y's?  It should
look like this (which rows appear first is unimportant):

x x y y y
x y x y y
x y y x y
x y y y x
y x x y y
y x y x y
y x y y x
y y x x y
y y x y x
y y y x x

Thanks,
ANDREW




More information about the R-help mailing list