make_JDay: Make Julian Day in dataframe

View source: R/make_JDay.R

make_JDayR Documentation

Make Julian Day in dataframe

Description

This function produced Julian Dates (days of the year) from columns "Day", "Month" and "Year" in a dataframe.

Usage

make_JDay(dateframe)

Arguments

dateframe

data.frame, which should contain date information specified as columns "Day", "Month" and "Year"

Value

Returns the same data.frame, but with column "JDay" added. This then contains the Julian Dates.

Author(s)

Eike Luedeling

References

The chillR package:

Examples



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)



chillR documentation built on Nov. 28, 2023, 1:09 a.m.