Description Usage Arguments Value Examples
Get season a date belongs to. This function was taken from the following stackoverflow post: http://stackoverflow.com/questions/9500114/find-which-season-a-particular-date-belongs-to.
1 | getSeason(DATES)
|
DATES |
a date. |
returns the name of the season (e.g. "Fall")
1 2 | # my.dates <- as.Date("2011-12-01", format = "%Y-%m-%d") + 0:60
# getSeason(my.dates)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.