yearTranslation: Create a vector for the computation of hydrological years

Description Usage Arguments Value Author(s)

Description

Creation of a vector years translated to compute statistics on hydrological years

Usage

1
yearTranslation(tsData, startYear)

Arguments

tsData

[zoo] zoo object with the daily or monthly time series. The date format must be:

  • "%Y-%m-%d" for daily data

  • "%Y-%m-01" for monthly data

startYear

[character] indicate the month to start the hydrological year. The format must be "MM" (by default, calendar year: "01")

Value

years [character] vector of the translated years

Author(s)

Florine Garcia (florine.garcia@gmail.com)

Pierre L'Hermite (pierrelhermite@yahoo.fr)


flogrc/piflow documentation built on May 24, 2019, 7:34 a.m.