I am currently learning R and I have to solve an Issue were I have to extract values from a data set which are from a specific month and from this values I should calculate the mean Temp.
I did it like that:
data[data$X..Month.. == 6,]
It gave me the mean value but without taking my first statement into consideration. What do I need to do that both statements are taken into consideration?