year: Conversion to esd objects.

View source: R/year.R

yearR Documentation

Conversion to esd objects.

Description

year, month, day, season return the years, months, days, and seasons associated with the data.

Usage

year(x)

Arguments

x

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

Value

a numeric for year, month, and day; A numeric or character for season

See Also

season season.default

Examples

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


metno/esd documentation built on April 24, 2024, 9:19 p.m.