powered by
Returns day of the year for given dates.
# S4 method for numeric daydoy(x,month,day) # S4 method for POSIXct daydoy(x)
# S4 method for POSIXct daydoy(x)
Year, four digits format, or an object of class POSIXct with no extra arguments
Month number.
Day of the month.
Day of the year [1:366].
ISOdate
# NOT RUN { daydoy(2019,2,27:29) daydoy(ISOdate(2019,2,27:29)) # }
Run the code above in your browser using DataLab