data.frame. First column contains the
selected psu identifiers, coerced by
as.character, to avoid scientific notation in
case the identifiers be large numbers of
classnumeric. Second column
contain PSU sizes, a variable needed for second stage
sampling with SampleSystematic.
References
Levy P and Lemeshow S (2008). Sampling of populations:
methods and applications, Fourth edition. John Wiley and
Sons, Inc.
# Load data with PSU identifiers and sizes.data(psu.ssu)
# Take a sample of 10 PSU with probability proportional to size with replacement.(selected.psu <- SamplePPS(psu.ssu, 10, write = FALSE))