Re: [R] permutation and reshuffling

2009-09-01 Thread Greg Snow
...@imail.org 801.408.8111 > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r- > project.org] On Behalf Of Yonatan Nissenbaum > Sent: Tuesday, September 01, 2009 1:35 AM > To: r-help@r-project.org > Subject: [R] permutation and reshuffling >

[R] permutation and reshuffling

2009-09-01 Thread Yonatan Nissenbaum
Hi, I'm looking for an efficient code that will enable me to reshuffle data (phenotype) for certain number of individuals and creating a loop that will randomly simulate it for 1 times *(permutation)*. I also need to find how I keep the information (p value for each SNP) gathered for all the