Description Usage Arguments Value Author(s) See Also Examples
View source: R/miscellaneous.R
Returns the season of an array of dates.
1 2 3 4 5 6 7 | find_season(
dates,
winter = "12-21",
spring = "3-20",
summer = "6-21",
fall = "9-22"
)
|
dates |
Array of dates. |
winter |
month-day of winter solstice. |
spring |
month-day of spring equinox. |
summer |
month-day of summer solstice. |
fall |
month-day of fall equinox. |
season
Josh O'Brien
https://stackoverflow.com/questions/9500114/find-which-season-a-particular-date-belongs-to
1 2 3 4 | library(psycho)
dates <- c("2012-02-15", "2017-05-15", "2009-08-15", "1912-11-15")
find_season(dates)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.