I want to plot my time series which have 2 column (month,values). Instead of starting from January, I dont know why it is starting from April in ggplot. If anyone have any ideas i am very pleased to hear it. Thank you.
dput(data_frame)
This is my data frame which made by reading an excel sheet.
dates <- month.name[data$Month]
diff1 <- mod1-obs1
data_frame <- data.frame( col1=dates,
col2 = diff1)
# plot the data using ggplot2
# windows()
ggplot(data=data_frame, aes(x=dates, y=diff1, group=1)) +
geom_line()+
geom_point()
This is the result, which I don't know why starting from April.
correcting my script