[R] combinations with replications

From: MarinaTarantini <mtarantini_at_dss.uniba.it>
Date: Thu, 31 Jul 2008 02:29:14 -0700 (PDT)

Dear all,
Is there a way to compute and list all combinations with replication of two elements in sets of 8 elemnts?
For example, I've two elements, 0 and 1, and I would to get all possible combinations with replication such as, for example, 00000000, 00000001, 00000010, and so on. They are 2^8 and it's very hard to list handly!! Thank you
Marina

-- 
View this message in context: http://www.nabble.com/combinations-with-replications-tp18750825p18750825.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Thu 31 Jul 2008 - 10:40:11 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 31 Jul 2008 - 11:33:02 GMT.

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

list of date sections of archive