Logaritmiska skalor

Introduktion till Tidyverse

David Robinson

Chief Data Scientist, DataCamp

Spridningsdiagram

5XUScDZ.png

library(ggplot2)

ggplot(gapminder, aes(x = gdpPerCap, y = lifeExp)) +
  geom_point()
Introduktion till Tidyverse

Logaritmisk skala

ggplot(gapminder_2007, aes(x = gdpPercap, y = lifeExp)) +
  geom_point() +
  scale_x_log10()
Introduktion till Tidyverse

Nu kör vi en övning!

Introduktion till Tidyverse

Preparing Video For Download...