Quarterly (Dis)Aggregation
This function returns a quarterly (dis)aggregated time series, using as input an annual, semiannual, monthly or daily time series.
QUARTERLY(x = NULL, fun = NULL, avoidCompliance = FALSE, ...)
x |
Input time series that must satisfy the compliance control check defined in |
fun |
Only for daily or monthly input time series: |
avoidCompliance |
If |
... |
Backward compatibility. |
This function returns a quarterly BIMETS time series.
#TS YEARLY TO QUARTERLY n=10 ts1=TSERIES(1:n,START=c(2000,1),FREQ=1) ts1[5]=NA TABIT(QUARTERLY(ts1,fun='INTERP_CENTER')); #TS DAILY TO QUARTERLY n=600 ts1=TSERIES(1:n,START=c(2000,1),FREQ='D') ts1[25]=NA TABIT(QUARTERLY(ts1,fun='SUM'))
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.