Re: [R] help for a loop procedure

2011-01-28 Thread Petr Savicky
On Thu, Jan 27, 2011 at 05:30:15PM +0100, Petr Savicky wrote: On Thu, Jan 27, 2011 at 11:30:37AM +0100, Serena Corezzola wrote: Hello everybody! I?m trying to define the optimal number of surveys to detect the highest number of species within a monitoring season/session. [...]

Re: [R] help for a loop procedure

2011-01-28 Thread Serena Corezzola
Hello Petr. First of all, thank you for your help! If i understand you correctly, your real table U has 32 rows and you want to consider all subsets of at most 10 rows. Sorry, I wasn’t clear: I have more datasets to analyse, some of them of just 10 samples, and others of 32. So:

[R] help for a loop procedure

2011-01-27 Thread Serena Corezzola
Hello everybody! I’m trying to define the optimal number of surveys to detect the highest number of species within a monitoring season/session. To do this I want to run all the possible combinations between a set of samples and to calculate the total number of species for each combination of

Re: [R] help for a loop procedure

2011-01-27 Thread Petr Savicky
On Thu, Jan 27, 2011 at 11:30:37AM +0100, Serena Corezzola wrote: Hello everybody! I?m trying to define the optimal number of surveys to detect the highest number of species within a monitoring season/session. To do this I want to run all the possible combinations between a set of