Annual Time Series (Dis)Aggregation
This function returns a yearly aggregated time series, by using as input a semiannual, quarterly, monthly or daily time series.
ANNUAL(x = NULL, fun = NULL, avoidCompliance = FALSE, ...) YEARLY(x = NULL, fun = NULL, avoidCompliance = FALSE, ...)
x |
Input time series, that must satisfy the compliance control check defined in |
fun |
STOCK: the output value of a year is equal to the value of the input time series in the last period of the same year |
avoidCompliance |
If |
... |
Backward compatibility. |
This function returns a yearly BIMETS time series.
#TS DAILY TO ANNUAL n=366 ts1=TIMESERIES(0:n,START=c(2000,1),FREQ='D') ts1[10]=NA TABIT(ANNUAL(ts1,fun='NAVE')) #TS DAILY TO ANNUAL n=36 ts1=TIMESERIES(0:n,START=c(2000,1),FREQ='M') ts1[10]=NA TABIT(YEARLY(ts1,fun='SUM'))
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.