Tom La Bone wrote:

> I have looked through the new "Complex Surveys" book and the documentation

> for the "survey" package and it appears to me that there are no functions in

> "survey" that help one to design a sampling scheme. For example, in the book

> section 2.8 discusses the design of stratified samples, but there is no

> mention of any functions in the "survey" package that implement the

> discussed strategies. So, am I missing something obvious here or is the

> "survey" package meant only for analyzing survey data once you have it in

> hand?

Yes.

> packageDescription("survey")

Package: survey

Title: analysis of complex survey samples

[...]

For drawing samples, see e.g. the sampling package:

http://cran.r-project.org/web/packages/sampling/index.htmlHTH,

Tobias

______________________________________________

[hidden email] mailing list

https://stat.ethz.ch/mailman/listinfo/r-helpPLEASE do read the posting guide

http://www.R-project.org/posting-guide.htmland provide commented, minimal, self-contained, reproducible code.