Description Usage Arguments Value
Convert time series to annual frequency: The toAnnualTS function converts a time series with n observations per year to an annual time series (one observation per year). The main concept is to select observations per year closest to a given day of year that have no missing value (NA). Here, the day of year for which the seasonality is maximum is being used.
1 | toAnnualTS(tsseas, tsi, obspyr, dtmax = 1/12)
|
tsseas |
vector of observations (time series) representing the seasonal component of the time series to be converted |
tsi |
vector of observations (time series) that needs to be converted to an annual time series |
obspyr |
number of observations per year of the time series to be converted |
dtmax |
maximum time (expressed in year, so 1/12 equals one month) between selected observation and the seasonal maximum |
vector of observations (time series) with annual observation frequency
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.