1

enter link description hereHere is my code:

data<-read.csv("D:/wggplot.csv", header=TRUE)

ggplot (mydata, aes(x = Temp, y = growh, color = Month)) + geom_hex() +
  facet_wrap(~Month) + geom_smooth(method = "lm")  + theme_gray(20) + labs(y = "growth")

This puts the months in alphabetical order in the plot. How can I change my code to get the months in chronological order?

user21
  • 11
  • 2

0 Answers0