मिसिंगनेस के अनुसार वैरिएशन खोजें: बॉक्स प्लॉट्स
पिछले अभ्यासों में nabular डेटा और density प्लॉट्स का उपयोग करके, एक वैरिएबल में वैरिएशन को दूसरे की missingness के आधार पर खोजा गया था.
अब हम naniar के oceanbuoys डेटासेट का उपयोग करने जा रहे हैं, और अलग-अलग missingness लेयर्स को एक्सप्लोर करने के लिए facets या अन्य तरीकों के बजाय बॉक्स प्लॉट्स का इस्तेमाल करेंगे.
यह अभ्यास पाठ्यक्रम का हिस्सा है
R में Missing Data से निपटना
अभ्यास निर्देश
geom_boxplot()का उपयोग करके air temperature की missingness के लिए wind east west (wind_ew) के distribution को एक्सप्लोर करें- इस visualization को आगे बढ़ाते हुए humidity (
humidity_NA) की missingness के आधार पर faceting करें.
इंटरैक्टिव व्यावहारिक अभ्यास
इस अभ्यास को इस नमूना कोड को पूरा करके आज़माएँ।
# Explore the distribution of wind east west (`wind_ew`) for
# the missingness of air temperature using `geom_boxplot()`
oceanbuoys %>%
bind_shadow() %>%
ggplot(aes(x = air_temp_c___,
y = ____)) +
geom_____()
# Build upon this visualization by faceting by the missingness of humidity (`humidity_NA`).
oceanbuoys %>%
___() %>%
ggplot(aes(x = ___,
y = ___)) +
geom_____() +
facet_wrap(~___)