Learn R Programming

insol (version 1.2.2)

doyday: Day of the year to date

Description

Returns the date for given days of the year.

Usage

doyday(year, doy)

Arguments

year

Year, four digits format. It can have a decimal fraction if day is omitted.

doy

Day of the year [1:366].

Value

returns an object of class POSIXlt.

See Also

as.POSIXlt

Examples

Run this code
# NOT RUN {
doyday(2019,58:65)

doyday(2019.5)


# }

Run the code above in your browser using DataLab