Re: [Rd] ordering dataframe for strata() (PR#13830)

2009-07-14 Thread marc_schwartz
On Jul 14, 2009, at 2:10 PM, eric.vander...@usask.ca wrote: > I've been using strata(sampling) and found that if the dataframe to be > sampled ("data") consists of repeated measures that are not sorted in > order the run will fail on a given stratum. Ordering the dataframe > prior to using strata

[Rd] ordering dataframe for strata() (PR#13830)

2009-07-14 Thread eric . vanderwal
I've been using strata(sampling) and found that if the dataframe to be sampled ("data") consists of repeated measures that are not sorted in order the run will fail on a given stratum. Ordering the dataframe prior to using strata() eliminates this problem. Thanks, Eric -- Eric Vander Wal Ph.