Designs in R
In the next few exercises we will practice specifying sampling designs using different samples from the api
dataset, located in the survey
package. The api
dataset contains the Academic Performance Index and demographic information for schools in California. The apisrs
dataset is a simple random sample of schools from the api
dataset. Let's specify its design!
This exercise is part of the course
Analyzing Survey Data in R
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Look at the apisrs dataset
glimpse(___)