calc_season: Return the season number of a yearweek or a Date

View source: R/week.r

calc_seasonR Documentation

Return the season number of a yearweek or a Date

Description

Currently the season is defined from september to august of the next year and the season number is the year of the september month (i.e. the first year of the season).

Usage

calc_season(d)

Arguments

d

date to compute season number from

Details

A season number is the number of the year of the september month in the season. So for the season 2010-2011, the season number is 2010, for 2018-2019 it is 2018, and so on.


cturbelin/ifnBase documentation built on Nov. 5, 2023, 12:54 p.m.