season.default: Conversion to esd objects.

View source: R/year.R

season.defaultR Documentation

Conversion to esd objects.

Description

Used to estimate Dec-Feb, Mar-May, Jun-Aug, and Sep-Nov statistics Manipulate the zoo-object by shifting the year/chonology so that zoo thinks the year defined as December-November is January-December.

Usage

## Default S3 method:
season(x, format = "character", verbose = FALSE)

Arguments

x

an object of, e.g., class 'station', 'field', or 'zoo', or a date

format

for season, set the format of the output 'character' or 'numeric'

Details

season return the seasons associated with the data.

Value

a numeric or character

See Also

year month

Examples

data(bjornholt)
year(bjornholt)
month(bjornholt)
day(bjornholt)
season(bjornholt)
season(bjornholt, format="numeric")


metno/esd documentation built on May 4, 2024, 10:58 p.m.