getDatesFromDOY: Get dates from year and day of the year

Description Usage Arguments Value Author(s) See Also Examples

View source: R/miscellaneous.R

Description

This function retrieves the date corresponding to the ginven year and day of the year.

Usage

1
getDatesFromDOY(year, doy)

Arguments

year

An vector with the years.

doy

An vector with the day of the year. It must have the same lenght as year.

Value

A Dates object.

Author(s)

Victor Maus, vwmaus1@gmail.com

See Also

shiftDates

Examples

1
2
3
4
year = c(2000, 2001)
doy = c(366, 365)
dates = getDatesFromDOY(year, doy)
dates

dtwSat documentation built on May 29, 2017, 9:22 p.m.

Search within the dtwSat package
Search all R packages, documentation and source code