Skip to content

Scales Transformations (paragraph10.1.7) not correct anymore #396

Description

@mhurk

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")

This is the output of R4.3.3:

par10_1_7

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions