I am using the package tidyverse and would like to scale the X axis of the below plot to the natural log of the values.
require(tidyverse)
require(gapminder)
gapminder07 <- dplyr::filter(gapminder, year == 2007)
ggplot(data = gapminder07) +
geom_text(mapping = aes(x = gdpPercap, y = lifeExp, label = country))
It must be scaled to natural log.
should do it.