국가별 패싯

사례 연구: R로 하는 탐색적 데이터 분석

Dave Robinson

Chief Data Scientist, DataCamp

여러 국가 그래프화

2-3_v2.002.png

사례 연구: R로 하는 탐색적 데이터 분석

여러 국가 그래프화

ggplot(many_countries, aes(year, percent_yes)) +
  geom_line() +
  facet_wrap(~ country)

2-3_v2.006.png

사례 연구: R로 하는 탐색적 데이터 분석

축을 분리해 그리기

ggplot(many_countries, aes(year, percent_yes)) +
  geom_line() +
  facet_wrap(~ country, scales = "free_y")

2-3_v2.008.png

사례 연구: R로 하는 탐색적 데이터 분석

축을 분리해 그리기

ggplot(many_countries, aes(year, percent_yes)) +
  geom_line() +
  facet_wrap(~ country, scales = "free_y")

2-3_v2.009.png

사례 연구: R로 하는 탐색적 데이터 분석

축을 분리해 그리기

ggplot(many_countries, aes(year, percent_yes)) +
  geom_line() +
  facet_wrap(~ country, scales = "free_y")

2-3_v2.010.png

사례 연구: R로 하는 탐색적 데이터 분석

연습해 봅시다!

사례 연구: R로 하는 탐색적 데이터 분석

Preparing Video For Download...