doytodate: convert DOYs to dates

Description Usage Arguments Details Value Author(s) Examples

View source: R/convert_doydates.R

Description

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

Usage

1
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

Details

DETAILS

Value

Date array resulting from the conversion

Author(s)

Lorenzo Busetto, PhD (2017) email: lbusett@gmail.com

Examples

1
2
3
4
5
6
## Not run: 
if(interactive()){
 #EXAMPLE1
 }

## End(Not run)

IREA-CNR-MI/sprawl documentation built on May 27, 2019, 1:12 p.m.