Friday, October 1, 2010

Julian date conversion in R

Convert the Julian day into Date format
strptime("180", "%j")

or

strptime("1998249", "%Y%j")
[1] "1998-09-06"

No comments:

Post a Comment