Hi, I am beginner in R, I have converted temperature data from long to wide format, I need help to make graph of temperature for selected months or for a given months for all years.

temp <- read_csv("C:/Users/Dell/Desktop/R-Data climate/day 2/temp_datapak.csv")
View(temp)
temdta<-spread(temp, Month, Temperature)
colnames(temdta)
newdata<-temdta %>%
select (Year, "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct",
"Nov", "Dec")

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.