This plot is great. It has everything I need, and the y=0
value is in a sensible place despite the logarithmic scale. All is great!
library(ggplot2)
df <- data.frame(x=1:3, y=c(1, 0, 2))
print(ggplot(df, aes(x=x, y=y)) + geom_point() + scale_y_log10())
How can I suppress this warning, and only this warning?
Transformation introduced infinite values in continuous y-axis