Re: [R] Generate groups with random size but given total sample size

2010-07-15 Thread Arne Schulz
Hi, thanks a lot! That did it! Regards, Arne Schulz > -Ursprüngliche Nachricht- > Von: Greg Snow [mailto:greg.s...@imail.org] > Gesendet: Dienstag, 13. Juli 2010 18:17 > An: Arne Schulz; r-help@r-project.org > Betreff: RE: [R] Generate groups with random size but given to

Re: [R] Generate groups with random size but given total sample size

2010-07-13 Thread Greg Snow
Center Intermountain Healthcare greg.s...@imail.org 801.408.8111 > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r- > project.org] On Behalf Of Arne Schulz > Sent: Tuesday, July 13, 2010 7:10 AM > To: r-help@r-project.org > Subject: [R] Ge

[R] Generate groups with random size but given total sample size

2010-07-13 Thread Arne Schulz
Dear list, I am currently doing some simulation studies where I want to compare different scenarios. In particular, two scenarios should be compared: 10.000 cases in 100 groups with 100 cases per group and 10.000 cases in 100 groups with random group size (ranging from 5 to 500). The first part