Thank you for your answer. Yes, first I tried summarize, it did not work out. Maybe I did mistake. So, here is my code
arlington_monthly_rain %>% group_by(year) %>% group_by(month) %>% ….. So I stuck at the end of this code. I need to write a code to give me the average monthly rain, I have data average daily rain.
If by average by month you mean, for example, all days every January, then you probably don't want to group by year. Perhaps also show us the code including your filter() and summarize() statements.
I think I need to use the group(year) because, my data starts in 2010 till today. I plan to group the year and then month and find average monthly rain. I only have the above code related to the rain part.