season: Get season of a date-time

View source: R/season.R

seasonR 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

m (character)

Examples

season(as.Date(c("1955-01-15","1985-06-15","2015-10-15")))


valentingar/ConFluxPro documentation built on Dec. 1, 2024, 9:35 p.m.