Re: [R] How to create strata out of the data.frame table

2008-06-18 Thread hadley wickham
On Wed, Jun 18, 2008 at 9:20 AM, Ana Kolar <[EMAIL PROTECTED]> wrote: > My data.frame table consist of 3 variables (x,y and z) where each variable > has 1000 units. I need to create 5 equal size strata according to one of the > variable (let's say x) whereas units of x variable with a higher value

[R] How to create strata out of the data.frame table

2008-06-18 Thread Ana Kolar
My data.frame table consist of 3 variables (x,y and z) where each variable has 1000 units. I need to create 5 equal size strata according to one of the variable (let's say x) whereas units of x variable with a higher value have higher probability to be selected in a strata with a higher number (max