Discretizes a date into an annum, using a starting day to specify the start of a season, and ends in the next year.
mkann(x, start.day, calendar)
It may also be a vector of
This is the starting day of the annum, and can be
specified as either a
if unspecified, it will be attempted to be read from
This date function finds the annual-breaks between seasons, using a
start.day. Often, the
start.day is 1, or January 1st,
in which case simply the year is returned, since the season starts on
January 1 and ends on December 31st. Otherwise, each annual break is
start.day, and the annum is identified by the range
of years, for example
1991_1992, identifying a season starting on
start.day in 1991, and ending in the day before
start.day in 1992.
The length of each year depends on the calendar; see
year.length for details.
A choice of
start.day can influence annual totals using
seas.sum, such as annual precipitation. For instance, if
a particular winter in the Northern hemisphere has snow before and
after the new year, these would be divided counting annual sums based
on the year, whereas if
start.day were before the winter
season, the annual sum would be calculated throughout the winter
factors for each date given in
by each annum.
1 2 3 4 5 6 7 8 9
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.