eric.vanderwal at usask.ca
2009-Jul-14 19:10 UTC
[Rd] ordering dataframe for strata() (PR#13830)
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.D. Candidate University of Saskatchewan, Department of Biology, 112 Science Place, Saskatoon, SK., S7N 5E2 "Pluralitas non est ponenda sine neccesitate"
marc_schwartz at me.com
2009-Jul-14 19:30 UTC
[Rd] ordering dataframe for strata() (PR#13830)
On Jul 14, 2009, at 2:10 PM, eric.vanderwal at 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() eliminates this problem. > > Thanks, > EricIf you are reporting a bug, then as per the R FAQ and the Posting Guide, you are asked to report bugs on contributed packages to the package maintainer, not to the R Bug Repository. If you are simply reporting curious behavior for the benefit of others, then please post it to R-help and do not report it as a bug. I would still contact the package maintainer, who may wish to add clarifications to the package/function documentation. Marc Schwartz
Maybe Matching Threads
- Extracting Sequence Data from a Vector
- Running stats on individual data.frames from the split() function list
- Sampling a dataframe based on the length of a subset of observations within
- Occams Razor Was: lm -- significance of x ...
- Script to Program Snom Phones