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

Tying it all together

Let's take a new modeling example from start to finish!

Let's build a model to predict, BPSysAve, a person's systolic blood pressure reading, using BPDiaAve, a person's diastolic blood pressure reading and Diabetes, whether or not they were diagnosed with diabetes.

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.

# Plot BPDiaAve and BPSysAve by Diabetes and include trend lines
drop_na(NHANESraw, Diabetes) %>%
ggplot(mapping = aes(___)) + 
    geom____(alpha = 0.2) + 
  	guides(size = "none") + 
    geom____(___, se = FALSE, mapping = aes(___))
Kodu Düzenle ve Çalıştır