Rdocumentation
powered by
Learn R Programming
pheno (version 1.5)
date2jul2: Converts a date (day,month,year) to Julian date
Description
Converts an integer date (day,month,year) into a Julian day of year (DOY). If y is missing, 2000 is assumed.
Usage
date2jul2(d,m,y)
Arguments
d
Day of month, numeric coecerd into an integer.
m
Month of year, numeric coerced into an integer.
y
Year, numeric coerced into an integer, default 2000.
Value
doy
Day of year as integer.
year
Year as integer.
Examples
Run this code
date2jul2(
31
,
5
,
1970
)
Run the code above in your browser using
DataLab