MulaiMulai sekarang secara gratis

Tying it all together!

Now let's switch to a new question to practice some of the skills we learned in this chapter. Let's investigate whether or not the total cholesterol varies, on average, between physically active and inactive Americans.

Latihan ini adalah bagian dari kursus

Analyzing Survey Data in R

Lihat Kursus

Latihan interaktif praktis

Cobalah latihan ini dengan menyelesaikan kode contoh berikut.

# Find means of total cholesterol by whether or not active 
out <- ___(formula = ___,
           by = ___, 
           design = NHANES_design,
           FUN = ___, 
           na.rm = TRUE, 
           keep.names = FALSE)
Edit dan Jalankan Kode