Learn R Programming

lunar (version 0.1-04)

terrestrial.season: Terrestrial Season

Description

Returns the season on specified dates.

Usage

terrestrial.season(x)

Arguments

x

A vector of Date values.

Details

The definitions for non-leap years are as follows (dates are inclusive):

Winter:

21 December through 21 March

Spring:

22 March through 21 June

Summer:

22 June through 20 September

Autumn:

21 September through 20 December

In leap years spring comes a day early!

See Also

terrestrial.seasons

Examples

Run this code
# NOT RUN {
terrestrial.season(as.Date("2004-03-24"))
# }

Run the code above in your browser using DataLab