Working with the NHANES data
Throughout this chapter, you will use the NHANES
dataset from the NHANES
R package. The data are collected by the Center for Disease Control (CDC, the national public health institute in the United States) and can be thought of as a random sample of US residents.
Before moving on to investigate particular variables, you'll have an opportunity to briefly explore the data in this exercise.
This exercise is part of the course
Foundations of Inference in R
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Load packages
# What are the variables in the NHANES dataset?