Bubble plots
Let's explore the relationship between Height
and Weight
of Americans. We will focus on 20 year olds to minimize the effects of overplotting. We want to compare the look of the standard scatter plot to a bubble plot.
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.
# Create dataset with only 20 year olds
NHANES20 <- ___(___,
___ == 20)