RE: [R] Permutations (summary)

2004-07-16 Thread Jordi Altirriba Gutiérrez
Dear R users, This is a second summary of the permutation problem I previously posted. This summary restates the problem as well as the solution. First of all thanks to everyone including Erich, Robin, Gabor, Christian, Ingmar and others for your suggestions. With the help of an off-list discus

RE: [R] Permutations

2004-07-15 Thread Jordi Altirriba Gutiérrez
Dear R users, First of all, I want to thank the algorithms , time and suggestions to Rolf, Robert, Marc, Gabor, Adaikalavan, Cliff, Robin, Erich and Fernando. I want to sum up a little bit all the e-mails, the algorithms and the results of a test for 1000 permutations (in my last e-mail is exp

Re: [R] Permutations

2004-07-14 Thread Jordi Altirriba Gutiérrez
utation. So, permutation 2 is an "intra-block" permutation of permutation 1. P.S. Sorry for having forgotten the title of the last e-mail From: Adaikalavan Ramasamy <[EMAIL PROTECTED]> To: Jordi Altirriba Gutiérrez <[EMAIL PROTECTED]> CC: [EMAIL PROTECTED], R-help <[

Re: [R] Permutations

2004-07-14 Thread Jordi Altirriba Gutiérrez
TECTED]> To: Jordi Altirriba Gutiérrez <[EMAIL PROTECTED]> CC: [EMAIL PROTECTED] Subject: Re: [R] (no subject) (was: Permutations) Date: Wed, 14 Jul 2004 09:11:48 +0100 Jordi try this R> x <- c(1,2,3, 10,11,12, 41,42,43, 81,82,83) R> dim(x) <- c(3,4) R> x [,1] [,2] [,

[R] (no subject)

2004-07-13 Thread Jordi Altirriba Gutiérrez
Dear R users, First of all, thanks for the incredibly fast answers and help of Rolf, Marc and Robert. Yes, I noticed that it was a lot of permutacions, but my intention was to make this process automatic and take only 5.000 - 10.000 permutations. Therefore, I wanted only to take that "interes

[R] Permutations

2004-07-13 Thread Jordi Altirriba Gutiérrez
Dear R users, I’m a beginner user of R and I’ve a problem with permutations that I don’t know how to solve. I’ve 12 elements in blocks of 3 elements and I want only to make permutations inter-blocks (no intra-blocks) (sorry if the terminology is not accurate), something similar to: 1 2 3 | 4 5