Converts a doy (or array of doys) to date format. Year of origin has to be specified, to allow proper handling of leap years

doytodate(doys, year, verbose = TRUE)

Arguments

doys

'numeric array' DOYs to be converted.

year

'numeric year to be used as basis.

verbose

'logical' if TRUE, print messages, default = TRUE

Value

Date array resulting from the conversion

Details

DETAILS

Examples

# Convert doy 100 of 2015 to date doytodate(100, 2015)
#> [1] "2015-04-10"