Description Usage Arguments Details Value Author(s)
calculate factors to denote the season for uStar-Filtering by specifying starting months, with seasons not spanning year boundaries
1 2 3 | usCreateSeasonFactorMonthWithinYear(dates, month = as.POSIXlt(dates)$mon +
1, year = as.POSIXlt(dates)$year + 1900, startMonth = c(3,
6, 9, 12))
|
dates |
POSIXct vector of length of the data set to be filled, specifying the center-time of each record |
month |
integer (1-12) vector of length of the data set to be filled, specifying the month for each record |
year |
integer vector of length of the data set to be filled, specifying the year |
startMonth |
integer vector specifying the starting month for each season, counting from one default is (Dez,Jan,Feb)(Mar,April,May)(June,July,August),(Sept,Okt,Nov) |
If Jan is not a starting month, then the first months of each year will be part of the last period in the year. E.g. with the default the fourth period of the first year consists of Jan,Feb,Dec.
Integer vector length(dates), with each unique value representing one season
TW
seealso usCreateSeasonFactorMonth
(Department for Biogeochemical Integration at MPI-BGC, Jena, Germany)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.