View source: R/bimets_ts_functions.R
MONTHLY | R Documentation |
This function returns a monthly (dis)aggregated time series, by using as input an annual, semiannual, quarterly or daily time series.
MONTHLY(x = NULL, fun = NULL, avoidCompliance = FALSE, ...)
x |
Input time series that must satisfy the compliance control check defined in |
fun |
Only for daily input time series: |
avoidCompliance |
If |
... |
Backward compatibility. |
This function returns a monthly BIMETS time series.
YEARLY
SEMIANNUAL
QUARTERLY
DAILY
#TS FREQ 2 SEMIANNUAL TO MONTHLY
ts1<-TSERIES((1:10),START=c(2000,1),FREQ=2)
TABIT(MONTHLY(ts1,fun='INTERP_CENTER'))
#TS DAILY TO MONTHLY
ts1<-TSERIES((1:366),START=c(2000,1),FREQ='D')
TABIT(MONTHLY(ts1,fun='STOCK'))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.