Re: [R] combinations with replications

2008-07-31 Thread ONKELINX, Thierry
body of data. ~ John Tukey -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Jim Lemon Verzonden: donderdag 31 juli 2008 13:19 Aan: MarinaTarantini CC: r-help@r-project.org Onderwerp: Re: [R] combinations with replications On Thu, 2008-07-31 a

Re: [R] combinations with replications

2008-07-31 Thread Jim Lemon
On Thu, 2008-07-31 at 02:29 -0700, MarinaTarantini wrote: > 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, fo

[R] combinations with replications

2008-07-31 Thread MarinaTarantini
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, , 0001, 0010, and so on. They are 2^8 an