h_rollav {htsr} | R Documentation |
Rolling average of a daily time-series
Description
The function compute a rollong average of daily time-series values. NA values are removed.
Usage
h_rollav(file, ti = 7, position = "central")
Arguments
file |
File name to proceed |
ti |
Time interval of computation in days (default = 7) |
position |
Position "central" or "right" |
Details
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.
Author(s)
P. Chevallier - Apr 2020
[Package htsr version 2.1.5 Index]