# Load data with PSU identifiers and sizes.
data(psu.ssu)
# Load data with sample data.
data(survey.data)
# Specify the two-stage cluster design that included 20 PSU.
(design <- DesignSurvey(psu.ssu, survey.data, psu.col = 2, ssu.col = 1, psu.2cd = 20))Run the code above in your browser using DataLab