This is a very basic problem but I do not find an answer. How can I order my variable \"Month\" so that when I make a bar plot January is first, then February...?
Th
Adding to the answer from Ben (since I cannot add comments yet), you can do the following, assuming you have a dataframe with a Month column:
df$Month <- factor(df$Month,levels=month.name) df = df[order(df$Month,decreasing=FALSE),]