Skala log

Pengantar Tidyverse

David Robinson

Chief Data Scientist, DataCamp

Diagram sebar

5XUScDZ.png

library(ggplot2)

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

Skala log

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

Ayo berlatih!

Pengantar Tidyverse

Preparing Video For Download...