Use of color in scatter plots
We often use the hue of color in a scatter plot to represent categories of a categorical variable. Let's add Gender
to our scatter plots.
Diese Übung ist Teil des Kurses
Analyzing Survey Data in R
Interaktive Übung
Vervollständige den Beispielcode, um diese Übung erfolgreich abzuschließen.
# Add gender to plot
ggplot(data = NHANES20,
mapping = aes(___)) +
geom_point(___) +
guides(___ = "none")