getHydroYear | R Documentation |
Compute hydrological (or meteorological or whatever) year
getHydroYear(months, years, hydroYear = 1:12)
months |
integer vector, months (between 1 and 12). |
years |
integer vector, same size as months, years. |
hydroYear |
integer vector, hydro-year definition. |
A vector with same size as years containing the corresponding hydro-year.
getHydroYear(months=1:12,years=rep(2020,12),hydroYear=c(9,10,11)) getHydroYear(months=1:12,years=rep(2020,12),hydroYear=c(12,1,2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.