I'm working with large datasets that use complex sampling procedures (ie, clusters and strata). I can specify the sample design using the "svyset" commands when working in STATA. However, I have not yet succeeded in applying the same in the lme4 or nlme R. packages.

I'm slowly switching to R from Stata and some basic functions are still hard to find.

Similar questions and discussions