[R] Listing all of combinations

From: miao <helenzhang234_at_hotmail.com>
Date: Fri 14 Jul 2006 - 23:35:25 EST

Dear All:

    I want to list all of combination among (a,b,c,d,e,f,g,h). I try to use lp<-ist(A=c(a,b,c,d,e,f,g,h),B=(a,b,c,d,e,f,g,h)....etc.).and then use expand.grid(p). this does not work for the same vector A,B...

    Anyone had this experince?



        [[alternative HTML version deleted]]

R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Sat Jul 15 02:58:08 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Sat 15 Jul 2006 - 04:15:13 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.