m2s {musica} | R Documentation |
Indication of a season
Description
Indication of a season
Usage
month2sea(dtm, year_starts = months(0))
sscale2sea(sub_scale, year_starts = months(0))
Arguments
dtm |
a |
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
month2sea(as.Date('2000-01-01') + months(1:10) )
sscale2sea(c(1, 1, 2, 2, 2, 3, 3), year_starts = months(-1))
[Package musica version 0.1.3 Index]