m2s: Indication of a season

Description Usage Arguments Value Examples

Description

Indication of a season

Usage

1
2
3
month2sea(dtm, year_starts = months(0))

sscale2sea(sub_scale, year_starts = months(-1))

Arguments

dtm

a Date object

year_starts

Month object indicating the start of the year

sub_scale

integer indicating the season

Value

3 letter code (as DJF, JJA etc.) specifying the season

Examples

1
2
3
month2sea(as.Date('2000-01-01') + months(1:10) )

sscale2sea(c(1, 1, 2, 2, 2, 3, 3), year_starts = months(-1))

hanel/musica documentation built on May 17, 2019, 2:28 p.m.