Hi i'm trying to draw ggplot by using under code.
d1 %>% ggplot(aes(sift_n, poly_n, col = poly_c)) + geom_point() + axis(side = 1, at = 1:10, seq(0.1, 1.0 ,0.1))
I use axis to edit my axis, but I get error message like this:
Error in axis(side = 1, at = 1:10, seq(0.1, 1, 0.1)) : plot.new has not been called yet
what should I do?