Learn R Programming

pheno (version 1.5)

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

  • dayDay of month as integer.
  • monthMonth of year as integer.
  • yearYear as integer.

Examples

Run this code
jul2date2(151,1970)

Run the code above in your browser using DataLab