h_year {htsr} | R Documentation |
Annual time series
Description
Annual time series
Usage
h_year(file, mhy = 1, op = "M", dig = 1)
Arguments
file |
File name to proceed |
mhy |
Starting month of the hydrological year (default = 1) |
op |
Sum (S) or Mean (M) (default = "M") |
dig |
Number of significant digits for Value (default = 1) |
Details
The function computes an annual time-series using the annual mean or the annual sum of daily values. It allows the use of hydrological years. The date corresponds to the middle of the year, i.e. the 182th day.
Value
The function returns a time-series of annual values.
Author(s)
P. Chevallier - Nov 2022
[Package htsr version 2.1.5 Index]