So I am trying to find the average temperature by day. The head of the data is below. So I am trying to find the average temperature for each Monday, Tuesday, ... and Sunday. What kind of function should I use to group all the dates and find its average temperature?
Date
<fctr>
AvgTemp
<dbl>
1 01/01/2013 20.72222
2 01/02/2013 19.05556
3 01/03/2013 23.05556
4 01/04/2013 23.88889
5 01/05/2013 28.38889
6 01/06/2013 29.00000