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

Modifying stat_smooth (2)

In this exercise we'll take a look at the standard error ribbons, which show the 95% confidence interval of smoothing models. ggplot2 and the Vocab data frame are already loaded for you.

Vocab has been given an extra column, year_group, splitting the dates into before and after 1995.

Bu egzersiz

Intermediate Data Visualization with ggplot2

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

Uygulamalı interaktif egzersiz

Bu örnek kodu tamamlayarak bu egzersizi bitirin.

# Using Vocab, plot vocabulary vs. education, colored by year group
___ +
  # Add jittered points with transparency 0.25
  ___ +
  # Add a smooth lin. reg. line (with ribbon)
  ___
Kodu Düzenle ve Çalıştır