season {ConFluxPro} | R Documentation |
Get season of a date-time
Description
A simple function to return a character (-vector) of the season from a Date (-vector). Months:
- spring
3-5
- summer
6-8
- fall
9-11
- winter
12-2
Usage
season(d)
Arguments
d |
(Date) Any date object |
Value
A character vector the same length as d
Examples
season(as.Date(c("1955-01-15","1985-06-15","2015-10-15")))
[Package ConFluxPro version 1.3.1 Index]