View source: R/time_categories.R
yday2date | R Documentation |
This function converts a Julian day to a date/month/season in any given year. This is useful, for instance, when making inferences from models of a response ~ Julian day, if you want to quickly draw inferences from models in terms of time units that are more familiar.
yday2date(yday, origin = "2016-01-01", verbose = TRUE, ...)
yday |
A numeric input specifying the Julian day (the number of days since January 1st). |
origin |
A character date (YYYY-MM-DD) that defines the first day of the year from which Julian day has been calculated. |
verbose |
A logical input that defines whether or not to print the date, month and season. |
... |
Additional arguments (none implemented). |
The function invisibly returns a list of the date, month and year.
Edward Lavender
yday2date(16)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.