MulaiMulai sekarang secara gratis

Exploring missingness dependence

To learn about the structure of the missingness in data, you can explore how sorting changes how missingness is presented.

For the oceanbuoys dataset, explore the missingness with vis_miss(), and then arrange by a few different variables

This is not a definitive process, but it will get you started to ask the right questions of your data. We explore more powerful techniques in the next chapter.

Latihan ini adalah bagian dari kursus

Dealing With Missing Data in R

Lihat Kursus

Petunjuk latihan

Using the dataset, oceanbuoys:

  • Arrange by the variables, year, latitude, and wind_ew using vis_miss().

Latihan interaktif praktis

Cobalah latihan ini dengan menyelesaikan kode contoh berikut.

# Arrange by year
___ %>% arrange(___) %>% vis_miss()

# Arrange by latitude
___ %>% ___(___) %>% vis_miss()

# Arrange by wind_ew (wind east west)
___ %>% ___(___) %>% ___()
Edit dan Jalankan Kode