Description Usage Arguments Value Examples
Returns the season of the year for a date-time object.
1 |
x |
A date-time object. |
label |
Logical. If TRUE, will display the season as a string (e.g. "Summer"). If False, the season will be returned as a numeric value. |
shoulder |
Logical. If TRUE only Summer and Winter are returned with the shoulder months included in each. So summer will include October, November, December, January, February, March and Winter will include April, May, June, July, August, September. Note that if this is set to true only a label version of the season will be returned. |
The seasons of the year as a numeric value (1-4) or as an ordered factor ("Summer", "Autumn", "Winter", "Spring").
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.