Hi, i am learning R and im quite new in this field. I am trying to study SO2 values during time but I don't know how to combine MONTH+DAY in the same axis.
I am using this code
ggplot(data= "data") +
geom_point(mapping = aes(x=(MONTH=1)+DAY, y = SO2,colour=SO2,))
Then I will introduce title, etc..
***MONTH AND DAY are two colums in my data frame.
With month=1 I want to select January. There is a code to change the month number to the name? EX: 1=January, 2=February.. etc..
My question was more focus at the point of dividing de x axis in a daily axis. I mean separate January in 30 days (cause I have a dataframe with daily meassure). So my objective is to represent the same graph that I attach here with the column "DAYS" include.
Thanks for your help! You're great and you are helping me a lot! I have one more question (sorry if I am being awkward.
How could I include data from another dataframe in the same graph? Just adding another geom_point?
I guess no cause I am working now with the new dataframe with the MONTH and DAY combined.
Here I show you how I addapted the code you gave me:
I don't think this is the best way to go about your problem, I used that code just for creating sample data to use with my reproducible example, please read the guide on the link I gave you so you can understand this concept and try to better explain your problem.