Re: [R] package sampling, function strata

2012-02-01 Thread Thomas Lumley
On Wed, Feb 1, 2012 at 11:18 PM, Elena Guijarro wrote: > Dear all, > > I have to select 122 stratified random samples from a population of >  >3900 cells. I have 41 strata and I  have to draw a different number of > samples from them(between 2 and 8). > > I have tried to apply the funtion strata f

[R] package sampling, function strata

2012-02-01 Thread Elena Guijarro
Dear all, I have to select 122 stratified random samples from a population of >3900 cells. I have 41 strata and I have to draw a different number of samples from them(between 2 and 8). I have tried to apply the funtion strata following the instruction in the manual: strata(dataframe, strata