盒鬚圖

Tidyverse 入門

David Robinson

Chief Data Scientist, DataCamp

直方圖

直方圖圖示

ggplot(gapminder_2007, aes(x = lifeExp)) +
  geom_histogram()
Tidyverse 入門

盒鬚圖

盒鬚圖圖示

ggplot(gapminder_2007, aes(x = continent, y = lifeExp)) +
  geom_boxplot()
Tidyverse 入門

直方圖 vs 盒鬚圖

直方圖圖示

盒鬚圖圖示

Tidyverse 入門

一起來練習吧!

Tidyverse 入門

Preparing Video For Download...