Description Usage Arguments Details Author(s)
Converts from and to hydrological day of year
1 |
x |
A numeric vector of doys (if reverse = FALSE) or hydrodoys |
year |
A character or numeric with a year |
reverse |
If FALSE (default) a doy vector is expected and an hydrodoy vector is returned, if TRUE, the other way around. |
This function converts a vector of doys into hydrodoys, i.e. setting Oct 1st as doy 1. The argument year is used to understand if you are computing hydrodoys in a leap year or not. The back conversion is also possible by setting reverse = TRUE.
Gianluca Filippa <gian.filippa@gmail.com>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.