First thing I'd love your help with is how to change the default jitter colors - would love for Cold to be blue as it is, Average black, and High red. Couldn't find a proper line of code to do that.
Also, I'd love to add a smooth line to connect the jitter for each "type" (Low/Average/High), same color as specific jitter. In total 3 lines. I've tried geom_smooth and geom_line and both have failed me.Does anyone have an idea?
OK, so my code looks like this:
myplot <- ggplot(longdata, aes(x = Month, y = temp)) +
scale_x_discrete(limits = c("January", "February", "March", "April",
"May", "June", "July", "August", "September",
"October", "November", "December")) +
scale_y_discrete(limits=c(0, 5, 10, 15, 20, 25, 30)) +
geom_jitter(aes(colour = type))
Which gives me this plot: