Hi all,
I have a daily time series of two variables and i want to get the annual maxumum for each variable with the actual date. i tried using apply.yearly(x$Prcp, max)
but this only gives the maximum values with the last date of the year as
1979-12-31 34.72
1980-12-31 47.02
1981-12-31 33.68
1982-12-31 25.22
1983-12-31 32.13
...........
2019-12-31 120
for example for 1979, the annual maxum is on 07/05/1979.
is there any way to extract the maxum and its excate date?
Best regards,
Solomon