Description Usage Arguments Value Author(s) Examples
Computes daily values of year, month, day of the month, week of the year, and Julian days for the input years. This function accounts for leap years. February will have 29 days in leap years.
1 | jdays(years)
|
years |
vector of years for which to compute values |
Returns a data frame that contains a record for each day of the year, 365 for non-leap years and 366 for leap years. If a vector of years is supplied, a "stacked" data frame of time intervals is returned.
For the weeks columns, the last week of the year contains an extra day (2 days in leap years). For the day8 column the last period only has 5 days.
Michael Malick
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.