powered by
This function produced Julian Dates (days of the year) from columns "Day", "Month" and "Year" in a dataframe.
make_JDay(dateframe)
Returns the same data.frame, but with column "JDay" added. This then contains the Julian Dates.
data.frame, which should contain date information specified as columns "Day", "Month" and "Year"
Eike Luedeling
The chillR package:
dates<-data.frame(Year=c(1977,1980,2004,2011,2016),Month=c(11,8,3,12,8),Day=c(1,21,2,24,2)) make_JDay(dates)
Run the code above in your browser using DataLab