Learn R Programming

pheno (version 1.7-0)

jul2date2: Converts Julian date to integers day,month,year

Description

Converts Julian day of year (DOY) into an integer date (day,month,year). If y is missing a non-leap year is assumed.

Usage

jul2date2(d,y)

Arguments

d

DOY, numeric coerced into an integer.

y

Year, numeric coerced into an integer, default 2000.

Value

day

Day of month as integer.

month

Month of year as integer.

year

Year as integer.

Examples

Run this code
# NOT RUN {
	jul2date2(151,1970)
# }

Run the code above in your browser using DataLab