The function compute a rollong average of daily time-series values. NA values are removed.
h_rollav(file, ti = 7, position = "central")
File name to proceed
Time interval of computation in days (default = 7)
Position "central" or "right"
P. Chevallier - Apr 2020
The output file is named with a ro_ prefix. The computation can considers the values before and after the current time step (position = "central") or the values before the current time step. If the position is "central", the position must be an odd integer.