DAILY {bimets} | R Documentation |
Daily Time Series (Dis)Aggregation
Description
This function returns a daily disaggregated time series, by using as input an annual, semiannual, quarterly or monthly time series.
Usage
DAILY(x = NULL, fun = NULL, avoidCompliance = FALSE, ...)
Arguments
x |
Input time series, that must satisfy the compliance control check defined in |
fun |
NULL: (default) the output value of each daily observation is set equal to the value of the input observation the date belongs to (i.e. duplicated values over the period) |
avoidCompliance |
If |
... |
Backward compatibility. |
Value
This function returns a daily BIMETS time series.
See Also
YEARLY
SEMIANNUAL
QUARTERLY
MONTHLY
Examples
#TS quarterly
ts1<-TSERIES((1:2),START=c(2000,1),FREQ='Q')
TABIT(DAILY(ts1,fun='INTERP_CENTER'))
#TS monthly
ts1<-TSERIES((1:4),START=c(2000,1),FREQ=12)
TABIT(DAILY(ts1))