Histogrammen

Introductie tot de Tidyverse

David Robinson

Chief Data Scientist, DataCamp

Histogram

TNRM2C9.png

ggplot(gapminder_2007, aes(x = lifeExp)) +
  geom_histogram()
Introductie tot de Tidyverse

Klassebreedte aanpassen

0rQSC2C.png

ggplot(gapminder_2007, aes(x = lifeExp)) +
  geom_histogram(binwidth = 5)
Introductie tot de Tidyverse

Log x-as

scale_x_log10()
Introductie tot de Tidyverse

Laten we oefenen!

Introductie tot de Tidyverse

Preparing Video For Download...