Re: [R] How to do multi-factor stratified sampling in R

2008-03-08 Thread Robert A LaBudde
At 03:54 PM 3/8/2008, David Winsemius wrote: >"Robert A. LaBudde" <[EMAIL PROTECTED]> wrote in >news:[EMAIL PROTECTED]: > > > Given a set of data with a number of variables plus a response, I'd > > like to obtain a randomized subset of the rows such that the > > marginal proportions of each variabl

Re: [R] How to do multi-factor stratified sampling in R

2008-03-08 Thread David Winsemius
"Robert A. LaBudde" <[EMAIL PROTECTED]> wrote in news:[EMAIL PROTECTED]: > Given a set of data with a number of variables plus a response, I'd > like to obtain a randomized subset of the rows such that the > marginal proportions of each variable are maintained closely in the > subset to that of

[R] How to do multi-factor stratified sampling in R

2008-03-08 Thread Robert A. LaBudde
Given a set of data with a number of variables plus a response, I'd like to obtain a randomized subset of the rows such that the marginal proportions of each variable are maintained closely in the subset to that of the dataset, and possibly maintaining as well the two-factor interaction margina