Learn R Programming

chillR (version 0.72.2)

make_JDay: 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.

References

The chillR package:

Examples

Run this code
# NOT RUN {

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