Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

hydrodoy

Converts from and to hydrological day of year


Description

Converts from and to hydrological day of year

Usage

hydrodoy(x, year, reverse=FALSE)

Arguments

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.

Details

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.

Author(s)

Gianluca Filippa <gian.filippa@gmail.com>


phenopix

Process Digital Images of a Vegetation Cover

v2.4.2
GPL-2
Authors
Gianluca Filippa, Edoardo Cremonese, Mirco Migliavacca, Marta Galvagno, Matthias Folker, Andrew D. Richardson, Enrico Tomelleri
Initial release
2020-09-03

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.