Histogrammes

Introduction au Tidyverse

David Robinson

Chief Data Scientist, DataCamp

Histogramme

TNRM2C9.png

ggplot(gapminder_2007, aes(x = lifeExp)) +
  geom_histogram()
Introduction au Tidyverse

Ajuster la largeur des classes

0rQSC2C.png

ggplot(gapminder_2007, aes(x = lifeExp)) +
  geom_histogram(binwidth = 5)
Introduction au Tidyverse

Axe des x logarithmique

scale_x_log10()
Introduction au Tidyverse

Passons à la pratique !

Introduction au Tidyverse

Preparing Video For Download...