Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mhurk opened this issue Mar 25, 2024 · 0 comments
Open

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

mhurk opened this issue Mar 25, 2024 · 0 comments

Comments

@mhurk
Copy link

mhurk commented Mar 25, 2024

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

@mhurk mhurk changed the title Scales Transformations (10.1.7) not correct anymore Scales Transformations (paragraph10.1.7) not correct anymore Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant