The code showing the reciprocal transformation (§ 10.1.7) is not correct anymore. As of R4.3.3 a bug preventing the axis labels to be displayed is solved.
# convert from fuel economy to fuel consumption
ggplot(mpg, aes(displ, hwy)) +
geom_point() +
scale_y_continuous(trans = "reciprocal")
The code showing the reciprocal transformation (§ 10.1.7) is not correct anymore. As of R4.3.3 a bug preventing the axis labels to be displayed is solved.
This is the output of R4.3.3: