Make Julian Day in dataframe
This function produced Julian Dates (days of the year) from columns "Day", "Month" and "Year" in a dataframe.
make_JDay(dateframe)
dateframe
: data.frame, which should contain date information specified as columns "Day", "Month" and "Year"Returns the same data.frame, but with column "JDay" added. This then contains the Julian Dates.
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)
The chillR package:
Eike Luedeling
Useful links