date_to_JDay | R Documentation |
In agricultural assessments, the begining and end for a period of interest (e.g. chill accumulation) are often expressed as Julian days (JDay) or Day Of the Year (DOY). This function transform dates into JDays without the need of looking at external resources for the information
date_to_JDay(date, format)
date |
Character string or date class elements. This is the date for which the function must return the JDay. The function also
accepts a vector of |
format |
Character string. This is the format in which the date(s) are introduced when calling the
function. See |
date_to_JDay(date = c("15/10/2020", "15/10/2019", "01/08/2003"), format = "%d/%m/%Y")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.