BaşlayınÜcretsiz Başlayın

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.

Bu egzersiz

Analyzing Survey Data in R

kursunun bir parçasıdır
Kursu Görüntüle

Uygulamalı interaktif egzersiz

Bu örnek kodu tamamlayarak bu egzersizi bitirin.

# Add gender to plot
ggplot(data = NHANES20,
       mapping = aes(___)) + 
	geom_point(___) + 
    guides(___ = "none")
Kodu Düzenle ve Çalıştır