powered by
Checks for truncated axes, inappropriate transformations, and other scale-related issues that can mislead viewers.
gg_audit_scales(plot)
A list of issues, warnings, and suggestions
A ggplot2 object
library(ggplot2) p <- ggplot(mtcars, aes(wt, mpg)) + geom_point() + ylim(15, 35) gg_audit_scales(p)
Run the code above in your browser using DataLab