Hi,
I would like to jitter some points but run into error saying x,y missing from aes. However, they are clearly there! Below code runs without + scale_x_continuous() + geom_jitter()
Thanks
library(magrittr)
library(tidyverse)
out<-tribble(
~id, ~value,
1, 15,
2, 20,
3, 30
)
ggplot(out) +
geom_point(aes(y=value,x=id)) +
scale_x_continuous() +
geom_jitter()