시작하기무료로 시작하기

패싯으로 결측을 탐색하기

geom_miss_point()는 ggplot 지오므이므로, 패싯과 같은 ggplot2 기능과 함께 사용할 수 있어요.

이는 결측을 빠르게 탐색하면서도 익숙한 ggplot2 환경 안에서 작업할 수 있음을 의미합니다.

이 연습은 강의의 일부입니다

R에서 결측치 다루기

강의 보기

연습 안내

  • 바람과 기온의 결측을 탐색하고, geom_miss_point()로 결측을 시각화하세요. 연도별로 더 자세히 보기 위해 패싯을 적용하세요.
  • 습도와 기온의 결측을 탐색하고, geom_miss_point()로 결측을 시각화하세요. 연도별로 더 자세히 보기 위해 패싯을 적용하세요.

실습형 인터랙티브 연습

이 예제를 이 샘플 코드를 완성하여 풀어보세요.

# Explore the missingness in wind and air temperature, and display the 
# missingness using `geom_miss_point()`. Facet by year to explore this further.
ggplot(___,
       aes(x = ___,
           y = ___)) + 
  ___() + 
  facet_wrap(~year)

# Explore the missingness in humidity and air temperature, and display the 
# missingness using `geom_miss_point()` Facet by year to explore this further.
ggplot(___,
       aes(___,
           ___)) + 
  ____() + 
  facet_wrap(~year)
코드 편집 및 실행