Learn R Programming

chillR (version 0.75)

genSeason: Generate Seasons

Description

Identify the hours, days or months in a (monthly, daily or hourly) temperature dataset that belong to a particular season. Seasons are defined according to the `mrange` argument, which specifies the start and end month of the season. The `years` argument specifies the year, in which the dormancy season of interest ends.

Usage

genSeason(temps, mrange = c(8, 6), years)

Arguments

temps

list. generated by `chillR`

mrange

numeric. vector with two entries for the range of months (start month and end month)

years

numeric. vector of years to be considered (with each entry specifying the year, in which the season **ends**)